diff options
author | Andrew Dolgov <[email protected]> | 2006-02-18 07:38:08 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-02-18 07:38:08 +0100 |
commit | 2bf6e0a82456e479956b41c7f6dc9c9c26a3e728 (patch) | |
tree | 97bed84e762e19ca76f5b6eed8c6c9487eab58d2 /backend.php | |
parent | ab5eb26fba38ca7880b4c0fa005c7a214ce3c71b (diff) |
only request total counters on initial update request
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/backend.php b/backend.php index d0a5acb4f..5803344c5 100644 --- a/backend.php +++ b/backend.php @@ -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); |