summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-16 17:46:17 +0100
committerAndrew Dolgov <[email protected]>2009-01-16 17:46:17 +0100
commit55e01d7e0fa90fa3bad569169ca182195a8f1f82 (patch)
tree216aa3bbc6239d7df8d7a36345e232b4ef97ade7 /functions.php
parent08850c8eab98af9de099e28a81d25799cb40e44c (diff)
getFeedCounters: remove unneeded group by
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/functions.php b/functions.php
index 17102517d..a6c83b01f 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;