]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/ForumManager.php
Update and rename test class
[friendica.git] / src / Content / ForumManager.php
index 35df0aee9e6af85064d3bb9f7c36cc2f5c9c519a..a47d70ab38b2a60ebe037d0ec98594b33e268bcc 100644 (file)
@@ -8,6 +8,7 @@ namespace Friendica\Content;
 use Friendica\Core\Protocol;
 use Friendica\Content\Feature;
 use Friendica\Core\L10n;
+use Friendica\Core\Renderer;
 use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\Model\Contact;
@@ -122,9 +123,9 @@ class ForumManager
                                $entries[] = $entry;
                        }
 
-                       $tpl = get_markup_template('widget_forumlist.tpl');
+                       $tpl = Renderer::getMarkupTemplate('widget_forumlist.tpl');
 
-                       $o .= replace_macros(
+                       $o .= Renderer::replaceMacros(
                                $tpl,
                                [
                                        '$title'        => L10n::t('Forums'),