From: Andrew Garrett Date: Mon, 27 Apr 2009 05:40:07 +0000 (+0000) Subject: Fix missing global wgLang X-Git-Tag: 1.31.0-rc.0~41987 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=a507ffb48740cf1a106aae5e37299609bd87e796;p=lhc%2Fweb%2Fwiklou.git Fix missing global wgLang --- diff --git a/includes/Preferences.php b/includes/Preferences.php index a970a17b4a..7baf30837b 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -284,6 +284,8 @@ class Preferences { } static function emailPreferences( $user, &$defaultPreferences ) { + global $wgLang; + ## Email ####################################### ## Email stuff global $wgEnableEmail, $wgEnableUserEmail, $wgEmailAuthentication; diff --git a/includes/User.php b/includes/User.php index 6836a964ea..02111b7bbc 100644 --- a/includes/User.php +++ b/includes/User.php @@ -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.