From 46003d56935dd08ccf3a1f8945e7c2ac6491df19 Mon Sep 17 00:00:00 2001 From: Charles Melbye Date: Wed, 20 May 2009 04:30:03 +0000 Subject: [PATCH] Follow-up to r50776. Retaining old method names for backwards compatibility, but making them as deprecated. Patch by ^demon. --- includes/AuthPlugin.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/includes/AuthPlugin.php b/includes/AuthPlugin.php index 3632dbfd95..d91de3baab 100644 --- a/includes/AuthPlugin.php +++ b/includes/AuthPlugin.php @@ -133,6 +133,33 @@ class AuthPlugin { return true; } + /** + * Can users change their Real Name? + * @deprecated Use allowPropChange() + * @return bool + */ + public function allowRealNameChange() { + return $this->allowPropChange( 'realname' ); + } + + /** + * Can users change their email address? + * @deprecated Use allowPropChange() + * @return bool + */ + public function allowEmailChange() { + return $this->allowPropChange( 'emailaddress' ); + } + + /** + * Can users change their Nickname? + * @deprecated Use allowPropChange() + * @return bool + */ + public function allowNickChange() { + return $this->allowPropChange( 'nickname' ); + } + /** * Can users change their passwords? * -- 2.20.1