]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Nav.php
Fix not working unarchive contact batch action
[friendica.git] / src / Content / Nav.php
index 8289825eade47587a67017f7bcee64be49542134..b8691e93400ee53aeeac2f18f61bb8fd5113bd85 100644 (file)
@@ -9,6 +9,7 @@ use Friendica\Content\Feature;
 use Friendica\Core\Addon;
 use Friendica\Core\Config;
 use Friendica\Core\L10n;
+use Friendica\Core\Renderer;
 use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\Model\Contact;
@@ -61,9 +62,9 @@ class Nav
 
                $nav_info = self::getInfo($a);
 
-               $tpl = get_markup_template('nav.tpl');
+               $tpl = Renderer::getMarkupTemplate('nav.tpl');
 
-               $nav .= replace_macros($tpl, [
+               $nav .= Renderer::replaceMacros($tpl, [
                        '$baseurl'      => System::baseUrl(),
                        '$sitelocation' => $nav_info['sitelocation'],
                        '$nav'          => $nav_info['nav'],