]> git.wh0rd.org Git - tt-rss.git/commitdiff
getFeedCounters: remove unneeded group by
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 16:46:17 +0000 (17:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 16:46:17 +0000 (17:46 +0100)
functions.php

index 17102517d1f51a7839aa94e12d893a03e6e5b57b..a6c83b01f72b39490daa9b8f4c2d308628ee2ec5 100644 (file)
                        FROM ttrss_feeds, ttrss_counters_cache
                        WHERE ttrss_feeds.owner_uid = ".$_SESSION["uid"]."  
                                AND parent_feed IS NULL 
-                               AND ttrss_counters_cache.feed_id = id
-                               GROUP BY ttrss_feeds.id, ttrss_feeds.title, ttrss_feeds.last_updated, 
-                               last_error";
-
+                               AND ttrss_counters_cache.feed_id = id";
 
                $result = db_query($link, $query);
                $fctrs_modified = false;