Don't display wordpress accounts in the forumlist

This commit is contained in:
Michael 2024-06-15 09:27:55 +00:00
parent e9421d7eb6
commit 33b478d9ca

View file

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