Make the onParserTestTables method static, since the hook is called statically.

Fixes: Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method MathHooks::onParserTestTables() should not be called statically in /var/www/w/phase3/includes/Hooks.php on line 235
This commit is contained in:
Brian Wolff 2011-05-23 17:05:39 +00:00
parent 7346759250
commit b75a2171f1

View file

@ -133,7 +133,7 @@ class MathHooks {
* @param array $tables
* @return bool
*/
function onParserTestTables( &$tables ) {
static function onParserTestTables( &$tables ) {
$tables[] = 'math';
return true;
}