diff --git a/backend.php b/backend.php index f47ba00af..6bdeaa719 100644 --- a/backend.php +++ b/backend.php @@ -238,12 +238,14 @@ } } - // if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) { + + if (time() - $_SESSION["view:counters_stamp"] > 10) { print ""; getAllCounters($link, $omode); print ""; -// } + $_SESSION["view:counters_stamp"] = time(); + } print ""; break; // view