From 165c88ff3166825dcccfa2d30a9c3574e64c8549 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 31 Aug 2011 14:23:59 +0400 Subject: remove unused headlines-info.unread --- backend.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index cef42bb70..d039740b3 100644 --- a/backend.php +++ b/backend.php @@ -370,16 +370,8 @@ if ($_REQUEST["debug"]) $timing_info = print_checkpoint("05", $timing_info); - $headlines_unread = ccache_find($link, $returned_feed, $_SESSION["uid"], - $cat_view, true); - - if ($headlines_unread == -1) { - $headlines_unread = getFeedUnread($link, $returned_feed, $cat_view); - } - $reply['headlines-info'] = array("count" => (int) $headlines_count, "vgroup_last_feed" => $vgroup_last_feed, - "unread" => (int) $headlines_unread, "disable_cache" => (bool) $disable_cache); if ($_REQUEST["debug"]) $timing_info = print_checkpoint("20", $timing_info); -- cgit v1.2.3