]> git.mxchange.org Git - friendica.git/commitdiff
Don't display wordpress accounts in the forumlist
authorMichael <heluecht@pirati.ca>
Sat, 15 Jun 2024 09:27:55 +0000 (09:27 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 15 Jun 2024 09:27:55 +0000 (09:27 +0000)
src/Content/GroupManager.php

index dfca7861253625749e033a2f88fd0967f3bc005c..46dfcb138d277baef6d8ed61ba3d4b14144cff7f 100644 (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]);