Declare AdminpanelAction::canAdmin as static, since that's how it's used.
This commit is contained in:
parent
6ec72b2978
commit
158b323767
@ -246,7 +246,7 @@ class AdminPanelAction extends Action
|
||||
$this->clientError(_('saveSettings() not implemented.'));
|
||||
}
|
||||
|
||||
function canAdmin($name)
|
||||
static function canAdmin($name)
|
||||
{
|
||||
$isOK = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user