]> git.mxchange.org Git - friendica.git/blobdiff - mod/navigation.php
Merge pull request #3289 from Hypolite/improvement/add-composer
[friendica.git] / mod / navigation.php
index 5db69b171eed52f67fea8f65bd21ccb5df55c3ce..be1b522e9cba1b20d851f1a0ceb03254230c9729 100644 (file)
@@ -2,7 +2,7 @@
 
 require_once("include/nav.php");
 
-function navigation_content(&$a) {
+function navigation_content(App $a) {
 
        $nav_info = nav_info($a);
 
@@ -12,7 +12,7 @@ function navigation_content(&$a) {
 
        $tpl = get_markup_template('navigation.tpl');
        return replace_macros($tpl, array(
-               '$baseurl' => $a->get_baseurl(),
+               '$baseurl' => App::get_baseurl(),
                '$sitelocation' => $nav_info['sitelocation'],
                '$nav' => $nav_info['nav'],
                '$banner' =>  $nav_info['banner'],