summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-18 07:38:08 +0100
committerAndrew Dolgov <[email protected]>2006-02-18 07:38:08 +0100
commit2bf6e0a82456e479956b41c7f6dc9c9c26a3e728 (patch)
tree97bed84e762e19ca76f5b6eed8c6c9487eab58d2 /backend.php
parentab5eb26fba38ca7880b4c0fa005c7a214ce3c71b (diff)
only request total counters on initial update request
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php10
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);