1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

remove unneeded query from backend.php/op=viewfeed

This commit is contained in:
Andrew Dolgov 2005-09-06 05:24:56 +01:00
parent c723648324
commit 5a4ce2e747

View File

@ -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;