public: use PDO headlines result (2)

This commit is contained in:
Andrew Dolgov 2017-12-01 20:57:55 +03:00
parent dc393a580b
commit cb13089af1
1 changed files with 0 additions and 19 deletions

View File

@ -36,25 +36,6 @@ class Handler_Public extends Handler {
$date_sort_field = "updated DESC"; $date_sort_field = "updated DESC";
break; 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( $params = array(
"owner_uid" => $owner_uid, "owner_uid" => $owner_uid,
"feed" => $feed, "feed" => $feed,