Merge pull request #14234 from annando/wordpress-groups

Don't display wordpress accounts in the forumlist
This commit is contained in:
Tobias Diekershoff 2024-06-15 13:42:36 +02:00 committed by GitHub
commit 03567ce04d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ class GroupManager
'archive' => false,
];
$condition = DBA::mergeConditions($condition, ["`platform` != ?", 'peertube']);
$condition = DBA::mergeConditions($condition, ["`platform` NOT IN (?, ?)", 'peertube', 'wordpress']);
if (!$showprivate) {
$condition = DBA::mergeConditions($condition, ['manually-approve' => false]);