request_counters: no-op when in offline mode

This commit is contained in:
Andrew Dolgov 2009-02-02 15:39:18 +03:00
parent 8b44cb2b60
commit 2f4eb720ba
1 changed files with 2 additions and 0 deletions

View File

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