mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
The fetch function now centrally controls the content
This commit is contained in:
parent
62a61a95d3
commit
b03db4643f
14 changed files with 56 additions and 43 deletions
|
@ -260,7 +260,7 @@ function acl_content(App $a)
|
|||
$params = ['order' => ['author-name' => true]];
|
||||
$authors = Item::selectForUser(local_user(), ['author-link'], $condition, $params);
|
||||
$item_authors = [];
|
||||
while ($author = dba::fetch($authors)) {
|
||||
while ($author = Item::fetch($authors)) {
|
||||
$item_authors[$author['author-link']] = $author['author-link'];
|
||||
}
|
||||
dba::close($authors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue