mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
All item selects are now done by the post class
This commit is contained in:
parent
2d0443a109
commit
b892db0cf3
16 changed files with 108 additions and 688 deletions
|
@ -356,9 +356,9 @@ class Community extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
$r = Item::selectThreadForUser(0, ['uri', 'commented', 'author-link'], $condition, $params);
|
||||
$r = Post::selectThreadForUser(0, ['uri', 'commented', 'author-link'], $condition, $params);
|
||||
|
||||
$items = DBA::toArray($r);
|
||||
$items = Post::toArray($r);
|
||||
|
||||
// Previous page case: once we get the relevant items closest to min_id, we need to restore the expected display order
|
||||
if (empty($item_id) && isset($min_id) && !isset($max_id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue