Follow-up to r50776. Retaining old method names for backwards compatibility,
authorCharles Melbye <charlie@users.mediawiki.org>
Wed, 20 May 2009 04:30:03 +0000 (04:30 +0000)
committerCharles Melbye <charlie@users.mediawiki.org>
Wed, 20 May 2009 04:30:03 +0000 (04:30 +0000)
but making them as deprecated. Patch by ^demon.

includes/AuthPlugin.php

index 3632dbf..d91de3b 100644 (file)
@@ -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?
         *