]> git.wh0rd.org Git - tt-rss.git/commitdiff
headlines renderer: do not attach topmost article ids
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 12:09:41 +0000 (16:09 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 12:09:41 +0000 (16:09 +0400)
classes/feeds.php

index 0f2bbf31e9f296556da4e13bb9e65f86e6d28c9c..2cef8f7506e64d72bec59a5b356e364fe862c511 100644 (file)
@@ -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);