]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove unneeded query from backend.php/op=viewfeed
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 6 Sep 2005 04:24:56 +0000 (05:24 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 6 Sep 2005 04:24:56 +0000 (05:24 +0100)
backend.php

index f1613116a1f694600c2bebbf359c809efb422158..8ed16ee5808576d46b38fee3be48a9eaba9ad384 100644 (file)
 
                $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;