From 2bf6e0a82456e479956b41c7f6dc9c9c26a3e728 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 18 Feb 2006 07:38:08 +0100 Subject: only request total counters on initial update request --- backend.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'backend.php') 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); -- cgit v1.2.3