]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseAdmin.php
The boot.php had been cleared of most functions
[friendica.git] / src / Module / BaseAdmin.php
index 5d5841f994662aea0b1b15c68d0f9219f6615eea..69c2879de6bd4fa9c0817e4aad4e747b8947aabc 100644 (file)
@@ -59,7 +59,7 @@ abstract class BaseAdmin extends BaseModule
                        }
                }
 
-               if (!is_site_admin()) {
+               if (!DI::app()->isSiteAdmin()) {
                        throw new HTTPException\ForbiddenException(DI::l10n()->t('You don\'t have access to administration pages.'));
                }