Remove OutputPage::loginToUse(): deprecated since 1.19 & unused
* https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+logintouse&type=Code&ref=searchresults Change-Id: I5bdef4b518cd66a2b195aeb443e66136a06f816a
This commit is contained in:
parent
827d8dc028
commit
4e0762c70a
1 changed files with 0 additions and 10 deletions
|
|
@ -2499,16 +2499,6 @@ class OutputPage extends ContextSource {
|
|||
throw new PermissionsError( $permission );
|
||||
}
|
||||
|
||||
/**
|
||||
* Produce the stock "please login to use the wiki" page
|
||||
*
|
||||
* @deprecated since 1.19; throw the exception directly
|
||||
*/
|
||||
public function loginToUse() {
|
||||
wfDeprecated( __METHOD__, '1.19' );
|
||||
throw new PermissionsError( 'read' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Format a list of error messages
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue