mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 10:11:28 +00:00
rpc tweaks; viewfeed counters attachment changed
This commit is contained in:
@@ -142,26 +142,26 @@
|
||||
|
||||
print "<counters>";
|
||||
|
||||
$omode = $_GET["omode"];
|
||||
|
||||
if (!$omode) $omode = "tflc";
|
||||
|
||||
if (strchr($omode, "l")) getLabelCounters($link);
|
||||
|
||||
if (strchr($omode, "c")) {
|
||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||
getCategoryCounters($link);
|
||||
}
|
||||
}
|
||||
|
||||
if ($global_unread_caller != $global_unread) {
|
||||
|
||||
$omode = $_GET["omode"];
|
||||
|
||||
if (!$omode) $omode = "tflc";
|
||||
|
||||
if (strchr($omode, "l")) getLabelCounters($link);
|
||||
|
||||
if (strchr($omode, "c")) {
|
||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||
getCategoryCounters($link);
|
||||
}
|
||||
}
|
||||
|
||||
if (strchr($omode, "f")) getFeedCounters($link);
|
||||
if (strchr($omode, "t")) getTagCounters($link);
|
||||
if (strchr($omode, "t")) getTagCounters($link);
|
||||
|
||||
getGlobalCounters($link, $global_unread);
|
||||
}
|
||||
|
||||
getGlobalCounters($link, $global_unread);
|
||||
|
||||
|
||||
print "</counters>";
|
||||
|
||||
print_runtime_info($link);
|
||||
|
||||
Reference in New Issue
Block a user