remove unneeded query from backend.php/op=viewfeed
This commit is contained in:
parent
c723648324
commit
5a4ce2e747
1 changed files with 2 additions and 2 deletions
|
@ -317,13 +317,13 @@
|
||||||
|
|
||||||
$total_entries = pg_fetch_result($result, 0, "total_entries");
|
$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
|
FROM ttrss_entries WHERE
|
||||||
$search_query_part
|
$search_query_part
|
||||||
unread = true AND
|
unread = true AND
|
||||||
feed_id = '$feed'");
|
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)
|
/* if ($limit < $unread_entries)
|
||||||
$limit = $unread_entries;
|
$limit = $unread_entries;
|
||||||
|
|
Loading…
Reference in a new issue