]> git.wh0rd.org Git - tt-rss.git/commitdiff
view: more limiting tweaks
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 22 Jan 2009 15:22:12 +0000 (16:22 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 22 Jan 2009 15:22:12 +0000 (16:22 +0100)
backend.php

index 309c15a0ae7f16bdf43a9849c1ab986187fd8cc5..a69307f72129eb606d2c0a7b8ea5520537ae9ca0 100644 (file)
 
 //                     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 "<counters>";
                                getAllCounters($link, $omode);
                                print "</counters>";