]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Merge pull request #4269 from MrPetovan/task/4265-move-base64-to-composer
[friendica.git] / index.php
index bfd5cda64abb1cc3494113a34eeba7798a4190ff..dcb25cc3a37d513998914d1aab4c887b0cc8d22f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -10,6 +10,7 @@
 
 use Friendica\App;
 use Friendica\BaseObject;
+use Friendica\Content\Nav;
 use Friendica\Core\System;
 use Friendica\Core\Config;
 use Friendica\Core\Worker;
@@ -192,7 +193,7 @@ if ($install && $a->module!="view") {
        check_plugins($a);
 }
 
-nav_set_selected('nothing');
+Nav::setSelected('nothing');
 
 //Don't populate apps_menu if apps are private
 $privateapps = Config::get('config', 'private_addons');
@@ -426,7 +427,7 @@ call_hooks('page_end', $a->page['content']);
  * Add the navigation (menu) template
  */
 if ($a->module != 'install' && $a->module != 'maintenance') {
-       nav($a);
+       Nav::build($a);
 }
 
 /*