From: Andrew Dolgov Date: Tue, 6 Sep 2005 04:24:56 +0000 (+0100) Subject: remove unneeded query from backend.php/op=viewfeed X-Git-Tag: 1.0.3~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5a4ce2e74736f17393fadebff03e2a2eda5a5387;p=tt-rss.git remove unneeded query from backend.php/op=viewfeed --- diff --git a/backend.php b/backend.php index f1613116..8ed16ee5 100644 --- a/backend.php +++ b/backend.php @@ -317,13 +317,13 @@ $total_entries = pg_fetch_result($result, 0, "total_entries"); - $result = pg_query("SELECT count(id) AS unread_entries +/* $result = pg_query("SELECT count(id) AS unread_entries FROM ttrss_entries WHERE $search_query_part unread = true AND feed_id = '$feed'"); - $unread_entries = pg_fetch_result($result, 0, "unread_entries"); + $unread_entries = pg_fetch_result($result, 0, "unread_entries"); */ /* if ($limit < $unread_entries) $limit = $unread_entries;