summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-27 16:57:26 +0400
committerAndrew Dolgov <[email protected]>2013-02-27 16:57:26 +0400
commit0a7b15207e71acfd219196ff3301f6730f77320f (patch)
treebdb84500c71785b29b399b7111900d084977c8c6 /classes
parent77a3e1233fff8061de3a5c307531d9a4bc7d6dad (diff)
remove previous counter hacks; force request counters when there's no
unread stuff left in current feed (e.g. finished reading)
Diffstat (limited to 'classes')
-rw-r--r--classes/rpc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 18df21b16..46c8b0d85 100644
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -247,8 +247,6 @@ class RPC extends Handler_Protected {
if ($last_article_id != getLastArticleId($this->link)) {
$reply['counters'] = getAllCounters($this->link);
- } else {
- $reply['counters'] = getVirtCounters($this->link);
}
$reply['runtime-info'] = make_runtime_info($this->link);