]> git.wh0rd.org Git - tt-rss.git/commitdiff
request_counters: no-op when in offline mode
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 2 Feb 2009 12:39:18 +0000 (15:39 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 2 Feb 2009 12:39:18 +0000 (15:39 +0300)
feedlist.js

index 47542e5441153c9e7c676663fdf3f9d3bc4745ba..582509e402bc88f6060e94059103f0a34da1776c 100644 (file)
@@ -618,6 +618,8 @@ function request_counters_real() {
 
        try {
 
+               if (offline_mode) return;
+
                debug("requesting counters...");
 
                var query = "backend.php?op=rpc&subop=getAllCounters";