From b389aeb7fce00c2436f8c54dbd873f8d48c63da7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Feb 2013 16:09:41 +0400 Subject: headlines renderer: do not attach topmost article ids --- classes/feeds.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/classes/feeds.php b/classes/feeds.php index 0f2bbf31e..2cef8f750 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -862,7 +862,7 @@ class Feeds extends Handler_Protected { $view_mode, $limit, $cat_view, $next_unread_feed, $offset, $vgroup_last_feed, $override_order, true); - $topmost_article_ids = $ret[0]; + //$topmost_article_ids = $ret[0]; $headlines_count = $ret[1]; $returned_feed = $ret[2]; $disable_cache = $ret[3]; @@ -877,18 +877,6 @@ class Feeds extends Handler_Protected { "vgroup_last_feed" => $vgroup_last_feed, "disable_cache" => (bool) $disable_cache); - if ($_REQUEST["debug"]) $timing_info = print_checkpoint("20", $timing_info); - - if (is_array($topmost_article_ids) && !get_pref($this->link, 'COMBINED_DISPLAY_MODE') && !$_SESSION["bw_limit"]) { - $articles = array(); - - foreach ($topmost_article_ids as $id) { - array_push($articles, format_article($this->link, $id, false)); - } - - $reply['articles'] = $articles; - } - if ($_REQUEST["debug"]) $timing_info = print_checkpoint("30", $timing_info); $reply['runtime-info'] = make_runtime_info($this->link); -- cgit v1.2.3