From: Andrew Dolgov Date: Fri, 16 Jan 2009 16:46:17 +0000 (+0100) Subject: getFeedCounters: remove unneeded group by X-Git-Tag: 1.3.0~138 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=55e01d7e0fa90fa3bad569169ca182195a8f1f82;p=tt-rss.git getFeedCounters: remove unneeded group by --- diff --git a/functions.php b/functions.php index 17102517..a6c83b01 100644 --- a/functions.php +++ b/functions.php @@ -2805,10 +2805,7 @@ 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;