remove unused headlines-info.unread
This commit is contained in:
parent
78b2c6ce9a
commit
165c88ff31
|
@ -370,16 +370,8 @@
|
||||||
|
|
||||||
if ($_REQUEST["debug"]) $timing_info = print_checkpoint("05", $timing_info);
|
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,
|
$reply['headlines-info'] = array("count" => (int) $headlines_count,
|
||||||
"vgroup_last_feed" => $vgroup_last_feed,
|
"vgroup_last_feed" => $vgroup_last_feed,
|
||||||
"unread" => (int) $headlines_unread,
|
|
||||||
"disable_cache" => (bool) $disable_cache);
|
"disable_cache" => (bool) $disable_cache);
|
||||||
|
|
||||||
if ($_REQUEST["debug"]) $timing_info = print_checkpoint("20", $timing_info);
|
if ($_REQUEST["debug"]) $timing_info = print_checkpoint("20", $timing_info);
|
||||||
|
|
|
@ -51,7 +51,6 @@ function headlines_callback2(transport, offset) {
|
||||||
} catch (e) { };
|
} catch (e) { };
|
||||||
|
|
||||||
var headlines_count = reply['headlines-info']['count'];
|
var headlines_count = reply['headlines-info']['count'];
|
||||||
var headlines_unread = reply['headlines-info']['unread'];
|
|
||||||
|
|
||||||
vgroup_last_feed = reply['headlines-info']['vgroup_last_feed'];
|
vgroup_last_feed = reply['headlines-info']['vgroup_last_feed'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue