functions moved to HTML class
update function calls to moved class.
This commit is contained in:
@@ -7,6 +7,7 @@ namespace Friendica\Content;
|
||||
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Content\Feature;
|
||||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
@@ -169,7 +170,7 @@ class ForumManager
|
||||
$total_shown = 0;
|
||||
$forumlist = '';
|
||||
foreach ($contacts as $contact) {
|
||||
$forumlist .= micropro($contact, false, 'forumlist-profile-advanced');
|
||||
$forumlist .= HTML::micropro($contact, false, 'forumlist-profile-advanced');
|
||||
$total_shown ++;
|
||||
if ($total_shown == $show_total) {
|
||||
break;
|
||||
|
||||
@@ -862,7 +862,7 @@ class HTML
|
||||
$contacts = L10n::tt('%d Contact', '%d Contacts', $total);
|
||||
$micropro = [];
|
||||
foreach ($r as $rr) {
|
||||
$micropro[] = micropro($rr, true, 'mpfriend');
|
||||
$micropro[] = self::micropro($rr, true, 'mpfriend');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user