X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FForumManager.php;h=cfd083f9f8c3821010e1f61d3d77a78d1163f278;hb=d2d6200669ddce44ead1813d06c855d75aa6706b;hp=3d84b95a38e691e4299018eedd9ce9198c713c61;hpb=26b335ef3d8b1ec4e1b4e22cd7d3c34e66d2549d;p=friendica.git diff --git a/src/Content/ForumManager.php b/src/Content/ForumManager.php index 3d84b95a38..cfd083f9f8 100644 --- a/src/Content/ForumManager.php +++ b/src/Content/ForumManager.php @@ -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')] ); }