summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-06 05:24:56 +0100
committerAndrew Dolgov <[email protected]>2005-09-06 05:24:56 +0100
commit5a4ce2e74736f17393fadebff03e2a2eda5a5387 (patch)
tree267272464cedf0a3e0bb410845d57214331b6fbc /backend.php
parentc723648324df89d5d59ebc5f7b7ffd85770029ca (diff)
remove unneeded query from backend.php/op=viewfeed
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index f1613116a..8ed16ee58 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;