]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/ForumManager.php
old behaviour restored
[friendica.git] / src / Content / ForumManager.php
index 3d84b95a38e691e4299018eedd9ce9198c713c61..cfd083f9f8c3821010e1f61d3d77a78d1163f278 100644 (file)
@@ -7,6 +7,7 @@ namespace Friendica\Content;
 
 use Friendica\App;
 use Friendica\Content\Feature;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
 use dba;
@@ -48,7 +49,7 @@ class ForumManager
                        "SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro`, `contact`.`thumb`
                        FROM `contact`
                                WHERE `network`= 'dfrn' AND $select AND `uid` = ?
-                               AND NOT `blocked` AND NOT `hidden` AND NOT `pending` AND NOT `archive`
+                               AND NOT `blocked` AND NOT `pending` AND NOT `archive`
                                AND `success_update` > `failure_update`
                        $order ",
                        $uid
@@ -121,12 +122,12 @@ class ForumManager
                        $o .= replace_macros(
                                $tpl,
                                [
-                                       '$title'        => t('Forums'),
+                                       '$title'        => L10n::t('Forums'),
                                        '$forums'       => $entries,
-                                       '$link_desc'    => t('External link to forum'),
+                                       '$link_desc'    => L10n::t('External link to forum'),
                                        '$total'        => $total,
                                        '$visible_forums' => $visible_forums,
-                                       '$showmore'     => t('show more')]
+                                       '$showmore'     => L10n::t('show more')]
                        );
                }