r50674 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50673‎ | r50674 | r50675 >
Date:00:09, 17 May 2009
Author:demon
Status:ok
Tags:
Comment:
Rm unused $wgLang and some trailing whitespace.
Modified paths:
  • /trunk/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -11,8 +11,8 @@
1212 if (self::$defaultPreferences)
1313 return self::$defaultPreferences;
1414
15 - global $wgLang, $wgRCMaxAge;
16 -
 15+ global $wgRCMaxAge;
 16+
1717 $defaultPreferences = array();
1818
1919 self::profilePreferences( $user, $defaultPreferences );
@@ -26,9 +26,9 @@
2727 self::watchlistPreferences( $user, $defaultPreferences );
2828 self::searchPreferences( $user, $defaultPreferences );
2929 self::miscPreferences( $user, $defaultPreferences );
30 -
 30+
3131 wfRunHooks( 'GetPreferences', array( $user, &$defaultPreferences ) );
32 -
 32+
3333 ## Prod in defaults from the user
3434 global $wgDefaultUserOptions;
3535 foreach( $defaultPreferences as $name => &$info ) {

Status & tagging log