User: Deprecate confusingly-named isLoggedIn() method
Bug: T270450 Change-Id: I0b8f66d15162fb29abbb922fb79c22e21b3b54dd
This commit is contained in:
parent
2aa1aaee31
commit
0171846ce4
2 changed files with 5 additions and 1 deletions
|
|
@ -345,6 +345,8 @@ because of Phabricator reports.
|
|||
* The User class, which was marked as @newable in 1.35, is no longer newable,
|
||||
meaning that it is no longer safe to manually call the constructor via
|
||||
`new User`. Instead, use the UserFactory service.
|
||||
* The confusingly-named User->isLoggedIn() method has been deprecated in favour
|
||||
of the method it wraps, User->isRegistered().
|
||||
* Use of the `preprocessor=Preprocessor_DOM` option in parser test files has
|
||||
been deprecated. Preprocessor_DOM was removed in 1.35.
|
||||
* ParserOptions::setTidy() has been deprecated. It has had no effect since
|
||||
|
|
|
|||
|
|
@ -2974,7 +2974,9 @@ class User implements IDBAccessObject, UserIdentity {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get whether the user is logged in
|
||||
* Get whether the user is registered.
|
||||
*
|
||||
* @deprecated since 1.36; use isRegistered() directly
|
||||
* @return bool
|
||||
*/
|
||||
public function isLoggedIn() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue