mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-03 14:17:11 +00:00
disable SYNC_COUNTERS option
This commit is contained in:
10
backend.php
10
backend.php
@@ -239,11 +239,11 @@
|
||||
}
|
||||
|
||||
|
||||
if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) {
|
||||
// if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) {
|
||||
print "<counters>";
|
||||
getAllCounters($link, $omode);
|
||||
print "</counters>";
|
||||
}
|
||||
// }
|
||||
|
||||
print "</reply>";
|
||||
break; // view
|
||||
@@ -348,12 +348,12 @@
|
||||
$viewfeed_ctr_interval = 60;
|
||||
}
|
||||
|
||||
if (get_pref($link, "SYNC_COUNTERS") ||
|
||||
time() - $_SESSION["get_all_counters_stamp"] > $viewfeed_ctr_interval) {
|
||||
// if (get_pref($link, "SYNC_COUNTERS") ||
|
||||
// time() - $_SESSION["get_all_counters_stamp"] > $viewfeed_ctr_interval) {
|
||||
print "<counters>";
|
||||
getAllCounters($link, $omode, $feed);
|
||||
print "</counters>";
|
||||
}
|
||||
// }
|
||||
|
||||
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user