1
0
mirror of synced 2024-12-14 07:06:04 +03:00

[Query] removed unused local variable $platform in IdentityFunction class.

This commit is contained in:
Hugo Hamon 2012-01-12 19:43:39 +01:00 committed by Benjamin Eberlei
parent c4dcd39666
commit 19602d0a26

View File

@ -39,7 +39,6 @@ class IdentityFunction extends FunctionNode
*/ */
public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
{ {
$platform = $sqlWalker->getConnection()->getDatabasePlatform();
$dqlAlias = $this->pathExpression->identificationVariable; $dqlAlias = $this->pathExpression->identificationVariable;
$assocField = $this->pathExpression->field; $assocField = $this->pathExpression->field;