diff --git a/draft/new-core/Hydrate.php b/draft/new-core/Hydrate.php index 8d8ee937d..7faa528fb 100644 --- a/draft/new-core/Hydrate.php +++ b/draft/new-core/Hydrate.php @@ -82,10 +82,6 @@ abstract class Doctrine_Hydrate extends Doctrine_Access * @var boolean $inheritanceApplied */ protected $inheritanceApplied = false; - /** - * @var boolean $aggregate - */ - protected $aggregate = false; /** * @var array $compAliases */ @@ -275,7 +271,6 @@ abstract class Doctrine_Hydrate extends Doctrine_Access "offset" => false, ); $this->inheritanceApplied = false; - $this->aggregate = false; $this->joins = array(); $this->tableIndexes = array(); $this->tableAliases = array(); @@ -368,10 +363,6 @@ abstract class Doctrine_Hydrate extends Doctrine_Access } $stmt = $this->conn->execute($query, $params); - if ($this->aggregate) { - return $stmt->fetchAll(Doctrine::FETCH_ASSOC); - } - if (count($this->tables) == 0) { throw new Doctrine_Query_Exception('No components selected'); }