From 4e0762c70a97b8b8cfc54b934e518cddd6950e9a Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Mon, 14 Dec 2015 14:38:13 -0800 Subject: [PATCH] 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 --- includes/OutputPage.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f85df95f47..67c54bb16c 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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 * -- 2.20.1