diff --git a/lib/Doctrine/ORM/QueryBuilder.php b/lib/Doctrine/ORM/QueryBuilder.php index e35d119ab..7206ec4ab 100644 --- a/lib/Doctrine/ORM/QueryBuilder.php +++ b/lib/Doctrine/ORM/QueryBuilder.php @@ -199,8 +199,6 @@ class QueryBuilder return $this->_dql; } - $dql = ''; - switch ($this->_type) { case self::DELETE: $dql = $this->_getDQLForDelete();