Remove deprecated function User::isPasswordReminderThrottled()
authorMax Semenik <maxsem.wiki@gmail.com>
Fri, 16 Dec 2016 00:23:10 +0000 (16:23 -0800)
committerMax Semenik <maxsem.wiki@gmail.com>
Fri, 16 Dec 2016 20:55:30 +0000 (12:55 -0800)
Deprecated and stubbed in 1.27, only throws exceptions these days.
The only user in core or extensions is AjaxLogin which is completely
broken anyway (T153385).

Change-Id: I298fbc3e65d98b3af2f3cfef3d9884e277e6717c

RELEASE-NOTES-1.29
includes/user/User.php

index 4268b28..ef9d734 100644 (file)
@@ -129,6 +129,7 @@ changes to languages because of Phabricator reports.
 * Article::fetchContent() (deprecated in 1.21) was removed.
 * User::getPassword() (deprecated in 1.27) was removed.
 * User::getTemporaryPassword() (deprecated in 1.27) was removed.
+* User::isPasswordReminderThrottled() (deprecated in 1.27) was removed.
 
 == Compatibility ==
 
index edcadbb..211c629 100644 (file)
@@ -2650,16 +2650,6 @@ class User implements IDBAccessObject {
                throw new BadMethodCallException( __METHOD__ . ' has been removed in 1.27' );
        }
 
-       /**
-        * Has password reminder email been sent within the last
-        * $wgPasswordReminderResendTime hours?
-        * @deprecated Removed in 1.27. See above.
-        * @return bool
-        */
-       public function isPasswordReminderThrottled() {
-               throw new BadMethodCallException( __METHOD__ . ' has been removed in 1.27' );
-       }
-
        /**
         * Get the user's e-mail address
         * @return string User's email address