mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-09-24 02:39:04 +00:00
Cleanup slightly odd syntax. Back to how it originally was.
This commit is contained in:
parent
7a6e480645
commit
bdaca54ce1
|
@ -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' );
|
||||
|
|
Loading…
Reference in a new issue