From: Andrew Dolgov Date: Thu, 22 Jan 2009 15:22:12 +0000 (+0100) Subject: view: more limiting tweaks X-Git-Tag: git2svn-syncpoint-master~53 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=26b968cdf517490c8b92b683dbb4b26d93036f41;p=tt-rss.git view: more limiting tweaks --- diff --git a/backend.php b/backend.php index 309c15a0..a69307f7 100644 --- a/backend.php +++ b/backend.php @@ -240,7 +240,7 @@ // if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) { - if (time() - $_SESSION["view:counters_stamp"] > 5) { + if (time() - $_SESSION["view:counters_stamp"] > 5 && $mode == "prefetch") { print ""; getAllCounters($link, $omode); print "";