OutputPage::blockedPage() was removed
authorReedy <reedy@wikimedia.org>
Sat, 2 Jan 2016 18:53:28 +0000 (18:53 +0000)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Sat, 2 Jan 2016 19:19:08 +0000 (19:19 +0000)
Change-Id: Ie25b69e14155869ff0374a49f1ec3806f026da9d

RELEASE-NOTES-1.27
includes/OutputPage.php

index 458f5df..44625aa 100644 (file)
@@ -199,6 +199,7 @@ changes to languages because of Phabricator reports.
 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
 * wfEmptyMsg() was removed (deprecated since 1.18).
 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
+* OutputPage::blockedPage() was removed (deprecated since 1.18).
 
 == Compatibility ==
 
index 12b8204..946999c 100644 (file)
@@ -2338,15 +2338,6 @@ class OutputPage extends ContextSource {
                print $ins;
        }
 
-       /**
-        * Produce a "user is blocked" page.
-        * @deprecated since 1.18
-        */
-       function blockedPage() {
-               wfDeprecated( __METHOD__, '1.18' );
-               throw new UserBlockedError( $this->getUser()->mBlock );
-       }
-
        /**
         * Prepare this object to display an error page; disable caching and
         * indexing, clear the current text and redirect, set the page's title