]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Declare AdminpanelAction::canAdmin as static, since that's how it's used.
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 6 Mar 2016 16:31:40 +0000 (17:31 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 6 Mar 2016 16:31:40 +0000 (17:31 +0100)
lib/adminpanelaction.php

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