Index: trunk/phase3/includes/User.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | * \int Serialized record version. |
16 | 16 | * @ingroup Constants |
17 | 17 | */ |
18 | | -define( 'MW_USER_VERSION', 7 ); |
| 18 | +define( 'MW_USER_VERSION', 8 ); |
19 | 19 | |
20 | 20 | /** |
21 | 21 | * \string Some punctuation to prevent editing from broken text-mangling proxies. |
Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -284,6 +284,8 @@ |
285 | 285 | } |
286 | 286 | |
287 | 287 | static function emailPreferences( $user, &$defaultPreferences ) { |
| 288 | + global $wgLang; |
| 289 | + |
288 | 290 | ## Email ####################################### |
289 | 291 | ## Email stuff |
290 | 292 | global $wgEnableEmail, $wgEnableUserEmail, $wgEmailAuthentication; |