Added missing static keyword
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 8 Jul 2009 08:42:13 +0000 (08:42 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 8 Jul 2009 08:42:13 +0000 (08:42 +0000)
includes/PoolCounter.php

index acc2df7..2564fbc 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 abstract class PoolCounter {
-       public function factory( $type, $key ) {
+       public static function factory( $type, $key ) {
                global $wgPoolCounterConf;
                if ( !isset( $wgPoolCounterConf[$type] ) ) {
                        return new PoolCounter_Stub;