r42791 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42790‎ | r42791 | r42792 >
Date:23:59, 29 October 2008
Author:demon
Status:old (Comments)
Tags:
Comment:
Cleanup slightly odd syntax. Back to how it originally was.
Modified paths:
  • /trunk/extensions/InputBox/InputBox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/InputBox/InputBox.php
@@ -52,7 +52,7 @@
5353 // Register parser hook
5454 if ( defined( 'MW_SUPPORTS_PARSERFIRSTCALLINIT' ) ) {
5555 // Modern
56 - $wgHooks['ParserFirstCallInit'][] = array( 'InputBoxHooks::register' );
 56+ $wgHooks['ParserFirstCallInit'][] = 'InputBoxHooks::register';
5757 } else {
5858 // Legacy
5959 $wgExtensionFunctions[] = array( 'InputBoxHooks', 'register' );

Comments

#Comment by Brion VIBBER (talk | contribs)   00:50, 30 October 2008

whee

Status & tagging log