Fix missing global wgLang
authorAndrew Garrett <werdna@users.mediawiki.org>
Mon, 27 Apr 2009 05:40:07 +0000 (05:40 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Mon, 27 Apr 2009 05:40:07 +0000 (05:40 +0000)
includes/Preferences.php
includes/User.php

index a970a17..7baf308 100644 (file)
@@ -284,6 +284,8 @@ class Preferences {
        }
        
        static function emailPreferences( $user, &$defaultPreferences ) {
+               global $wgLang;
+               
                ## Email #######################################
                ## Email stuff
                global $wgEnableEmail, $wgEnableUserEmail, $wgEmailAuthentication;
index 6836a96..02111b7 100644 (file)
@@ -14,7 +14,7 @@ define( 'USER_TOKEN_LENGTH', 32 );
  * \int Serialized record version.
  * @ingroup Constants
  */
-define( 'MW_USER_VERSION', 7 );
+define( 'MW_USER_VERSION', 8 );
 
 /**
  * \string Some punctuation to prevent editing from broken text-mangling proxies.