diff options
author | Andrew Dolgov <[email protected]> | 2009-01-17 16:01:09 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-17 16:01:09 +0100 |
commit | a06d0e5a8b92a2015a05b376eb6b8f4a9878c4e0 (patch) | |
tree | 2ca75170477ed9a7c0b1a3397d9756d726e4d7a7 /modules | |
parent | 00fceabf61a67abdd4a119f562f013f8ed6b022b (diff) |
rpc tweaks; viewfeed counters attachment changed
Diffstat (limited to 'modules')
-rw-r--r-- | modules/backend-rpc.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 41e8ebd18..4d65ee23e 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -142,26 +142,26 @@ print "<counters>"; - $omode = $_GET["omode"]; + if ($global_unread_caller != $global_unread) { + + $omode = $_GET["omode"]; - if (!$omode) $omode = "tflc"; + if (!$omode) $omode = "tflc"; - if (strchr($omode, "l")) getLabelCounters($link); + 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) { + 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); - } - - getGlobalCounters($link, $global_unread); + if (strchr($omode, "t")) getTagCounters($link); + getGlobalCounters($link, $global_unread); + } + print "</counters>"; print_runtime_info($link); |