diff options
author | Andrew Dolgov <[email protected]> | 2013-02-28 16:09:41 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-28 16:09:41 +0400 |
commit | b389aeb7fce00c2436f8c54dbd873f8d48c63da7 (patch) | |
tree | 9eb1c8df15fc6f9755850de1a9853c3520beb3a7 | |
parent | 535a4c7d1656efcc2cff8df4aa4751867e9d1796 (diff) |
headlines renderer: do not attach topmost article ids
-rw-r--r-- | classes/feeds.php | 14 |
1 files changed, 1 insertions, 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); |