From 19602d0a26b61d9fe750603bb554b0c389190ade Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Thu, 12 Jan 2012 19:43:39 +0100 Subject: [PATCH] [Query] removed unused local variable $platform in IdentityFunction class. --- lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php b/lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php index 1b7592990..84e04a10b 100644 --- a/lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php +++ b/lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php @@ -39,7 +39,6 @@ class IdentityFunction extends FunctionNode */ public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) { - $platform = $sqlWalker->getConnection()->getDatabasePlatform(); $dqlAlias = $this->pathExpression->identificationVariable; $assocField = $this->pathExpression->field;