X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBaseAdmin.php;h=0535996301a4232659f72b6afcbf079105198ea9;hb=04505366217b3a9c00710321f4495da03f727d39;hp=5d5841f994662aea0b1b15c68d0f9219f6615eea;hpb=e34795762d72347746bd506f253495da7d0ab329;p=friendica.git diff --git a/src/Module/BaseAdmin.php b/src/Module/BaseAdmin.php index 5d5841f994..0535996301 100644 --- a/src/Module/BaseAdmin.php +++ b/src/Module/BaseAdmin.php @@ -1,6 +1,6 @@ isSiteAdmin()) { throw new HTTPException\ForbiddenException(DI::l10n()->t('You don\'t have access to administration pages.')); } @@ -68,7 +68,7 @@ abstract class BaseAdmin extends BaseModule } } - public static function content(array $parameters = []) + protected function content(array $request = []): string { self::checkAdminAccess(true);