request_counters: no-op when in offline mode
This commit is contained in:
parent
8b44cb2b60
commit
2f4eb720ba
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue