]> git.wh0rd.org Git - tt-rss.git/commitdiff
public: use PDO headlines result (2)
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 1 Dec 2017 17:57:55 +0000 (20:57 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 1 Dec 2017 17:57:55 +0000 (20:57 +0300)
classes/handler/public.php

index 4ae65e494dcd815f569f5ab5261a957f821b1f05..3c65b992b7f72e468525cd55de3256995f811ae1 100644 (file)
@@ -36,25 +36,6 @@ class Handler_Public extends Handler {
                        $date_sort_field = "updated DESC";
                        break;
                }
-
-               $params = array(
-                       "owner_uid" => $owner_uid,
-                       "feed" => $feed,
-                       "limit" => 1,
-                       "view_mode" => $view_mode,
-                       "cat_view" => $is_cat,
-                       "search" => $search,
-                       "override_order" => $date_sort_field,
-                       "include_children" => true,
-                       "ignore_vfeed_group" => true,
-                       "offset" => $offset,
-                       "start_ts" => $start_ts
-               );
-
-               $qfh_ret = Feeds::queryFeedHeadlines($params);
-
-               $result = $qfh_ret[0];
-
                $params = array(
                        "owner_uid" => $owner_uid,
                        "feed" => $feed,