getFeedCounters: remove unneeded group by

This commit is contained in:
Andrew Dolgov 2009-01-16 17:46:17 +01:00
parent 08850c8eab
commit 55e01d7e0f

View file

@ -2805,10 +2805,7 @@
FROM ttrss_feeds, ttrss_counters_cache FROM ttrss_feeds, ttrss_counters_cache
WHERE ttrss_feeds.owner_uid = ".$_SESSION["uid"]." WHERE ttrss_feeds.owner_uid = ".$_SESSION["uid"]."
AND parent_feed IS NULL AND parent_feed IS NULL
AND ttrss_counters_cache.feed_id = id AND ttrss_counters_cache.feed_id = id";
GROUP BY ttrss_feeds.id, ttrss_feeds.title, ttrss_feeds.last_updated,
last_error";
$result = db_query($link, $query); $result = db_query($link, $query);
$fctrs_modified = false; $fctrs_modified = false;