mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
Some small performance tweaks
This commit is contained in:
parent
a1ee75eba7
commit
bb222209bc
4 changed files with 26 additions and 9 deletions
|
@ -215,8 +215,9 @@ class ForumManager
|
|||
AND `contact`.`network` IN (?, ?) AND `contact`.`contact-type` = ?
|
||||
AND NOT `contact`.`blocked` AND NOT `contact`.`hidden`
|
||||
AND NOT `contact`.`pending` AND NOT `contact`.`archive`
|
||||
AND `contact`.`uid` = ?
|
||||
GROUP BY `contact`.`id`",
|
||||
local_user(), Protocol::DFRN, Protocol::ACTIVITYPUB, Contact::TYPE_COMMUNITY
|
||||
local_user(), Protocol::DFRN, Protocol::ACTIVITYPUB, Contact::TYPE_COMMUNITY, local_user()
|
||||
);
|
||||
|
||||
return DBA::toArray($stmtContacts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue