Fix invalid callback error due to non-static declaration of LinkTitles::removeMagicWord.

This commit is contained in:
Daniel Kraus
2013-03-06 19:02:50 +01:00
parent 7da35ff4ec
commit aaa89cb536

View File

@ -202,7 +202,7 @@
}
}
function removeMagicWord( &$parser, &$text ) {
static function removeMagicWord( &$parser, &$text ) {
$mw = MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS');
$mw -> matchAndRemove( $text );
return true;