From cb13089af141f0937941ef368549dc04dd2035ff Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 1 Dec 2017 20:57:55 +0300 Subject: [PATCH] public: use PDO headlines result (2) --- classes/handler/public.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index 4ae65e49..3c65b992 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -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, -- 2.39.5