From a507ffb48740cf1a106aae5e37299609bd87e796 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Mon, 27 Apr 2009 05:40:07 +0000 Subject: [PATCH] Fix missing global wgLang --- includes/Preferences.php | 2 ++ includes/User.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.20.1