Declare AdminpanelAction::canAdmin as static, since that's how it's used.

This commit is contained in:
Mikael Nordfeldth 2016-03-06 17:31:40 +01:00
parent 6ec72b2978
commit 158b323767

View File

@ -246,7 +246,7 @@ class AdminPanelAction extends Action
$this->clientError(_('saveSettings() not implemented.')); $this->clientError(_('saveSettings() not implemented.'));
} }
function canAdmin($name) static function canAdmin($name)
{ {
$isOK = false; $isOK = false;