Add static keyword to avoid deprecation warning in strict mode.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 20 Nov 2018 21:39:36 +0000 (21:39 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 20 Nov 2018 21:39:36 +0000 (21:39 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@2779 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrreport_body.php

index 3ec652108b73c5eaae3711050aa0f7b411c1a982..099af875dc40fb6d2edaf3229396652881a22ccc 100644 (file)
@@ -1127,7 +1127,7 @@ class SpecialWrReport extends SpecialPage {
        }
 
 
-       function LanguageGetSpecialPageAliasesHook(&$specialPageArray, $languageCode) {
+       static function LanguageGetSpecialPageAliasesHook(&$specialPageArray, $languageCode) {
                $text = wfMessage('wrreport')->text(); // 'Bahnberichte'
                $title = Title::newFromText($text); // 'Bahnberichte'
                $specialPageArray['wrreport'][] = $title->getDBKey(); // 'Bahnberichte'