1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 23:41:29 +00:00

only request total counters on initial update request

This commit is contained in:
Andrew Dolgov
2006-02-18 07:38:08 +01:00
parent ab5eb26fba
commit 2bf6e0a824
3 changed files with 18 additions and 9 deletions

View File

@@ -751,14 +751,16 @@
$omode = $_GET["omode"];
if (!$omode) $omode = "tfl";
if (!$omode) $omode = "tflc";
if (strchr($omode, "l")) getLabelCounters($link);
if (strchr($omode, "f")) getFeedCounters($link);
if (strchr($omode, "t")) getTagCounters($link);
if (get_pref($link, 'ENABLE_FEED_CATS')) {
getCategoryCounters($link);
}
if (strchr($omode, "c")) {
if (get_pref($link, 'ENABLE_FEED_CATS')) {
getCategoryCounters($link);
}
}
}
getGlobalCounters($link, $global_unread);