]> git.wh0rd.org - tt-rss.git/commitdiff
viewfeed: only include counters when in CDM mode
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Jan 2009 06:16:07 +0000 (07:16 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Jan 2009 06:16:07 +0000 (07:16 +0100)
backend.php

index 08269b3c70977245e885e25fc9a8b2024b2be201..c2efc73d6f0e43a63f72dcb676334e8663590482 100644 (file)
 
 //                     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_pref($link, 'COMBINED_DISPLAY_MODE')) {
                                print "<counters>";
                                getAllCounters($link, $omode, $feed);
                                print "</counters>";
-//                     }
+                       }
 
                        if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);