Remove OutputPage::loginToUse(): deprecated since 1.19 & unused
authorOri Livneh <ori@wikimedia.org>
Mon, 14 Dec 2015 22:38:13 +0000 (14:38 -0800)
committerOri Livneh <ori@wikimedia.org>
Tue, 15 Dec 2015 19:13:12 +0000 (11:13 -0800)
* https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+logintouse&type=Code&ref=searchresults

Change-Id: I5bdef4b518cd66a2b195aeb443e66136a06f816a

includes/OutputPage.php

index f85df95..67c54bb 100644 (file)
@@ -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
         *