Cleanup slightly odd syntax. Back to how it originally was.

This commit is contained in:
Chad Horohoe 2008-10-29 23:59:03 +00:00
parent 7a6e480645
commit bdaca54ce1

View file

@ -52,7 +52,7 @@ $wgAutoloadClasses['InputBox'] = $dir . 'InputBox.classes.php';
// Register parser hook
if ( defined( 'MW_SUPPORTS_PARSERFIRSTCALLINIT' ) ) {
// Modern
$wgHooks['ParserFirstCallInit'][] = array( 'InputBoxHooks::register' );
$wgHooks['ParserFirstCallInit'][] = 'InputBoxHooks::register';
} else {
// Legacy
$wgExtensionFunctions[] = array( 'InputBoxHooks', 'register' );