Drop User::checkTemporaryPassword()
Hard-deprecated since 1.27 and no callers Bug: T249181 Change-Id: I661d280423014c6b7a609b100eee4f72daa5f81e
This commit is contained in:
parent
836e39cb7a
commit
3356762235
2 changed files with 2 additions and 14 deletions
|
|
@ -557,6 +557,8 @@ because of Phabricator reports.
|
|||
* GenderCache::doTitlesArray no longer accepts string values in its $titles
|
||||
array parameter. Use Title objects (or other LinkTarget) instead.
|
||||
* Unused CommentStore::MAX_COMMENT_LENGTH has been removed.
|
||||
* User::checkTemporaryPassword(), deprecated in 1.27, was removed. Use
|
||||
AuthManager instead.
|
||||
* …
|
||||
|
||||
=== Deprecations in 1.35 ===
|
||||
|
|
|
|||
|
|
@ -4082,20 +4082,6 @@ class User implements IDBAccessObject, UserIdentity {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the given clear-text password matches the temporary password
|
||||
* sent by e-mail for password reset operations.
|
||||
*
|
||||
* @deprecated since 1.27, use AuthManager instead
|
||||
* @param string $plaintext
|
||||
* @return bool True if matches, false otherwise
|
||||
*/
|
||||
public function checkTemporaryPassword( $plaintext ) {
|
||||
wfDeprecated( __METHOD__, '1.27' );
|
||||
// Can't check the temporary password individually.
|
||||
return $this->checkPassword( $plaintext );
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize (if necessary) and return a session token value
|
||||
* which can be used in edit forms to show that the user's
|
||||
|
|
|
|||
Loading…
Reference in a new issue