diff --git a/classes/feeds.php b/classes/feeds.php index defeb075c..d25759283 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -160,8 +160,6 @@ class Feeds extends Handler_Protected { $disable_cache = true; } - if ($_REQUEST["debug"]) $timing_info = print_checkpoint("H0", $timing_info); - if (!$cat_view && is_numeric($feed) && $feed < PLUGIN_FEED_BASE_INDEX && $feed > LABEL_BASE_INDEX) { $handler = PluginHost::getInstance()->get_feed_handler( PluginHost::feed_to_pfeed_id($feed)); @@ -204,8 +202,6 @@ class Feeds extends Handler_Protected { $vfeed_group_enabled = get_pref("VFEED_GROUP_BY_FEED") && $feed != -6; - if ($_REQUEST["debug"]) $timing_info = print_checkpoint("H1", $timing_info); - $result = $qfh_ret[0]; // this could be either a PDO query result or a -1 if first id changed $feed_title = $qfh_ret[1]; $feed_site_url = $qfh_ret[2]; @@ -232,10 +228,7 @@ class Feeds extends Handler_Protected { $headlines_count = 0; - if ($_REQUEST["debug"]) $timing_info = print_checkpoint("PS", $timing_info); - if (is_object($result)) { - while ($line = $result->fetch(PDO::FETCH_ASSOC)) { ++$headlines_count; @@ -378,305 +371,9 @@ class Feeds extends Handler_Protected { } array_push($reply['content'], $line); - - /* if (!get_pref('COMBINED_DISPLAY_MODE')) { - - if ($vfeed_group_enabled) { - if ($feed_id != $vgroup_last_feed) { - - $vgroup_last_feed = $feed_id; - - $vf_catchup_link = "".__('mark feed as read').""; - - $reply['content'] .= "