]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
The "thread" table isn't used anymore
[friendica.git] / src / Protocol / OStatus.php
index 64ed6ae511f5c59aeae6838356f78598125b1077..a8f4e2429843750c9d0bd57f07caf8c5dd927ea6 100644 (file)
@@ -2124,12 +2124,12 @@ class OStatus
                $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::inArray($ret);
+               $items = Post::toArray($ret);
 
                $doc = new DOMDocument('1.0', 'utf-8');
                $doc->formatOutput = true;