]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Nav.php
Photo delete is moved as well
[friendica.git] / src / Content / Nav.php
index 90822c7e6fed3fb2bb7c7e6364b41e650046973a..506e71623c550ecd404ea529d501f6f91c405731 100644 (file)
@@ -295,7 +295,7 @@ class Nav
                }
 
                // Show the link to the admin configuration page if user is admin
-               if (is_site_admin()) {
+               if ($a->isSiteAdmin()) {
                        $nav['admin'] = ['admin/', DI::l10n()->t('Admin'), '', DI::l10n()->t('Site setup and configuration')];
                }