mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Several speed improvements (magiclink, caching, indexes)
This commit is contained in:
parent
251465f67a
commit
312c01a517
21 changed files with 119 additions and 86 deletions
|
@ -144,6 +144,7 @@ class ACL
|
|||
'archive' => false,
|
||||
'deleted' => false,
|
||||
'pending' => false,
|
||||
'network' => Protocol::FEDERATED,
|
||||
'rel' => [Contact::FOLLOWER, Contact::FRIEND]
|
||||
], $condition),
|
||||
$params
|
||||
|
@ -156,7 +157,7 @@ class ACL
|
|||
|
||||
$acl_forums = Contact::selectToArray($fields,
|
||||
['uid' => $user_id, 'self' => false, 'blocked' => false, 'archive' => false, 'deleted' => false,
|
||||
'pending' => false, 'contact-type' => Contact::TYPE_COMMUNITY], $params
|
||||
'network' => Protocol::FEDERATED, 'pending' => false, 'contact-type' => Contact::TYPE_COMMUNITY], $params
|
||||
);
|
||||
|
||||
$acl_contacts = array_merge($acl_forums, $acl_contacts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue