From: Charles Melbye Date: Wed, 20 May 2009 04:30:03 +0000 (+0000) Subject: Follow-up to r50776. Retaining old method names for backwards compatibility, X-Git-Tag: 1.31.0-rc.0~41725 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=46003d56935dd08ccf3a1f8945e7c2ac6491df19;p=lhc%2Fweb%2Fwiklou.git Follow-up to r50776. Retaining old method names for backwards compatibility, but making them as deprecated. Patch by ^demon. --- 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? *