From 158b323767e4f5bc87281e027f289b76354a8840 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 6 Mar 2016 17:31:40 +0100 Subject: [PATCH] Declare AdminpanelAction::canAdmin as static, since that's how it's used. --- lib/adminpanelaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adminpanelaction.php b/lib/adminpanelaction.php index 2ac92cb5c6..a7cb9fc722 100644 --- a/lib/adminpanelaction.php +++ b/lib/adminpanelaction.php @@ -246,7 +246,7 @@ class AdminPanelAction extends Action $this->clientError(_('saveSettings() not implemented.')); } - function canAdmin($name) + static function canAdmin($name) { $isOK = false; -- 2.39.5