]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
test again
[friendica.git] / src / Protocol / Feed.php
index ba01e719adb8f3f43ade10087b8f1d94fd1281a6..027efb2d47cc100eb8268be3f2df264dc21c3a92 100644 (file)
@@ -887,12 +887,12 @@ class Feed
                $params = ['order' => ['received' => true], 'limit' => $max_items];
 
                if ($filter === 'posts') {
-                       $ret = Item::selectThread([], $condition, $params);
+                       $ret = Post::selectThread([], $condition, $params);
                } else {
-                       $ret = Item::select([], $condition, $params);
+                       $ret = Post::select([], $condition, $params);
                }
 
-               $items = Item::toArray($ret);
+               $items = Post::toArray($ret);
 
                $doc = new DOMDocument('1.0', 'utf-8');
                $doc->formatOutput = true;