From: Chad Horohoe Date: Tue, 9 Jun 2009 23:59:42 +0000 (+0000) Subject: Oartial revert of r50809. Call the old method names for b/c. X-Git-Tag: 1.31.0-rc.0~41429 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=249645867e64006be5072f77eda468ce18ca2dbf;p=lhc%2Fweb%2Fwiklou.git Oartial revert of r50809. Call the old method names for b/c. --- 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',