r55442 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55441‎ | r55442 | r55443 >
Date:21:30, 21 August 2009
Author:ashley
Status:deferred
Tags:
Comment:
SimpleSearch: remove unused globals and initialize the global that is used
Modified paths:
  • /trunk/extensions/UsabilityInitiative/SimpleSearch/SimpleSearch.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/SimpleSearch/SimpleSearch.hooks.php
@@ -15,8 +15,8 @@
1616 * Initializes the component
1717 */
1818 public static function initialize( $out ) {
19 - global $wgEditWarningStyleVersion, $wgRequest;
20 -
 19+ global $wgSimpleSearchStyleVersion;
 20+
2121 UsabilityInitiativeHooks::initialize();
2222 // Adds script to document
2323 UsabilityInitiativeHooks::addScript(
@@ -28,7 +28,7 @@
2929 UsabilityInitiativeHooks::addMessages(
3030 array( 'simplesearch-search' )
3131 );
32 -
 32+
3333 // Continue
3434 return true;
3535 }

Status & tagging log