Index: trunk/extensions/regexBlock/regexBlockCore.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | /** |
47 | 47 | * Get a database object |
48 | 48 | */ |
49 | | - public function getDB( $db ){ |
| 49 | + public static function getDB( $db ){ |
50 | 50 | global $wgRegexBlockDatabase; |
51 | 51 | return wfGetDB( $db, array(), $wgRegexBlockDatabase ); |
52 | 52 | } |