Index: trunk/phase3/includes/PoolCounter.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | abstract class PoolCounter { |
5 | | - public function factory( $type, $key ) { |
| 5 | + public static function factory( $type, $key ) { |
6 | 6 | global $wgPoolCounterConf; |
7 | 7 | if ( !isset( $wgPoolCounterConf[$type] ) ) { |
8 | 8 | return new PoolCounter_Stub; |