]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove unused headlines-info.unread
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 31 Aug 2011 10:23:59 +0000 (14:23 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 31 Aug 2011 10:23:59 +0000 (14:23 +0400)
backend.php
viewfeed.js

index cef42bb70d53457970add36764b7ffbf02206426..d039740b33f6703603812a29f080c9589dbb1192 100644 (file)
 
                        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);
index 0d20faf81cecbe885338a43278028f89f40b776c..c41c49a96e275e63d62453b0fdb127faf2e6fbf9 100644 (file)
@@ -51,7 +51,6 @@ function headlines_callback2(transport, offset) {
                        } catch (e) { };
 
                        var headlines_count = reply['headlines-info']['count'];
-                       var headlines_unread = reply['headlines-info']['unread'];
 
                        vgroup_last_feed = reply['headlines-info']['vgroup_last_feed'];