From 249645867e64006be5072f77eda468ce18ca2dbf Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 9 Jun 2009 23:59:42 +0000 Subject: [PATCH] Oartial revert of r50809. Call the old method names for b/c. --- includes/Preferences.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Preferences.php b/includes/Preferences.php index d0135cecee..0bc07964ab 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -152,7 +152,7 @@ class Preferences { global $wgAuth; $defaultPreferences['realname'] = array( - 'type' => $wgAuth->allowPropChange( 'realname' ) ? 'text' : 'info', + 'type' => $wgAuth->allowRealNameChange() ? 'text' : 'info', 'default' => $user->getRealName(), 'section' => 'personal/info', 'label-message' => 'yourrealname', @@ -260,7 +260,7 @@ class Preferences { global $wgMaxSigChars; $defaultPreferences['nickname'] = array( - 'type' => $wgAuth->allowPropChange( 'nickname' ) ? 'text' : 'info', + 'type' => $wgAuth->allowNickChange() ? 'text' : 'info', 'maxlength' => $wgMaxSigChars, 'label-message' => 'yournick', 'validation-callback' => @@ -281,7 +281,7 @@ class Preferences { $defaultPreferences['emailaddress'] = array( - 'type' => $wgAuth->allowPropChange( 'emailaddress' ) ? 'text' : 'info', + 'type' => $wgAuth->allowEmailChange() ? 'text' : 'info', 'default' => $user->getEmail(), 'section' => 'personal/email', 'label-message' => 'youremail', -- 2.20.1