mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
New function to fetch item data especially for users
This commit is contained in:
parent
0280a46ab4
commit
6e10de9284
19 changed files with 133 additions and 77 deletions
|
@ -1068,7 +1068,7 @@ class Contact extends BaseObject
|
|||
$author_id, ACTIVITY_POST, local_user()];
|
||||
$params = ['order' => ['created' => true],
|
||||
'limit' => [$a->pager['start'], $a->pager['itemspage']]];
|
||||
$r = Item::select(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params);
|
||||
$r = Item::selectForUser(local_user(), [], $condition, $params);
|
||||
|
||||
$items = dba::inArray($r);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue