From 33b478d9ca349d9ae918336ed5ecb5c83e463199 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 15 Jun 2024 09:27:55 +0000 Subject: [PATCH] Don't display wordpress accounts in the forumlist --- src/Content/GroupManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/GroupManager.php b/src/Content/GroupManager.php index dfca786125..46dfcb138d 100644 --- a/src/Content/GroupManager.php +++ b/src/Content/GroupManager.php @@ -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]);