Remove OutputPage::getStatusMessage() (deprecated since 1.18)
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 27 Jun 2014 14:57:30 +0000 (16:57 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 8 Jul 2014 23:41:18 +0000 (01:41 +0200)
Also removed a comment where the method was mentioned.

Change-Id: I802f0f41e107a1d677fb899f6e09ea31df3c4e6f

RELEASE-NOTES-1.24
includes/OutputPage.php
includes/libs/HttpStatus.php

index a099eff..5858739 100644 (file)
@@ -218,6 +218,7 @@ changes to languages because of Bugzilla reports.
 * Removed Skin::makeGlobalVariablesScript. (deprecated since 1.19)
 * Removed MWNamespace::isMain(). (deprecated since 1.19)
 * Removed Preferences::loadOldSearchNs(). (deprecated since 1.19)
+* Removed OutputPage::getStatusMessage(). (deprecated since 1.18)
 
 ==== Renamed classes ====
 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
index 62f3c13..b1a3ad5 100644 (file)
@@ -2066,19 +2066,6 @@ class OutputPage extends ContextSource {
                }
        }
 
-       /**
-        * Get the message associated with the HTTP response code $code
-        *
-        * @param int $code Status code
-        * @return string|null Message or null if $code is not in the list of messages
-        *
-        * @deprecated since 1.18 Use HttpStatus::getMessage() instead.
-        */
-       public static function getStatusMessage( $code ) {
-               wfDeprecated( __METHOD__, '1.18' );
-               return HttpStatus::getMessage( $code );
-       }
-
        /**
         * Finally, all the text has been munged and accumulated into
         * the object, let's actually output it:
index d72ffca..809bfdf 100644 (file)
@@ -28,8 +28,6 @@ class HttpStatus {
        /**
         * Get the message associated with HTTP response code $code
         *
-        * Replace OutputPage::getStatusMessage( $code )
-        *
         * @param $code Integer: status code
         * @return String or null: message or null if $code is not in the list of
         *         messages