From e069f12c6c6087e34c7391caa5ead33397220b74 Mon Sep 17 00:00:00 2001 From: zYne Date: Mon, 10 Dec 2007 18:32:36 +0000 Subject: [PATCH] --- lib/Doctrine/Query/Groupby.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/Doctrine/Query/Groupby.php b/lib/Doctrine/Query/Groupby.php index 7eb9bacd4..f20a584e7 100644 --- a/lib/Doctrine/Query/Groupby.php +++ b/lib/Doctrine/Query/Groupby.php @@ -44,20 +44,7 @@ class Doctrine_Query_Groupby extends Doctrine_Query_Part $r = array(); foreach (explode(',', $str) as $reference) { $reference = trim($reference); - - /** - if (count($e) > 1) { - $field = array_pop($e); - $ref = implode('.', $e); - $this->query->load($ref); - $r[] = $this->query->getTableAlias($ref) . '.' . $field; - } else { - $alias = end($e); - - $r[] = $this->query->getAggregateAlias($alias); - } - */ $r[] = $this->query->parseClause($reference); } return implode(', ', $r);