Prevented a warning in PHP strict mode about a function not being declared as static.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 3 Nov 2013 13:09:21 +0000 (13:09 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 3 Nov 2013 13:09:21 +0000 (13:09 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1781 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrreport.body.php

index 690586e14b84f18658e0d1b63a6f097c71a8dfca..fe28d0f8bd5e6dde860e765a5e416b3672147a91 100644 (file)
@@ -539,7 +539,7 @@ class WrReport {
        public static $wrConditions;
 
 
-       function initWrConditions() {
+       public static function initWrConditions() {
                WrReport::$wrConditions = array();
                for ($i = 1; $i != 6; ++$i) WrReport::$wrConditions[$i] = wfMessage('wrreport-condition-' . $i)->text();
        }