Drop MWExceptionHandler::getLogId(), deprecated in 1.27 and unused
authorJames D. Forrester <jforrester@wikimedia.org>
Sat, 9 Feb 2019 01:37:23 +0000 (17:37 -0800)
committerReedy <reedy@wikimedia.org>
Sat, 9 Feb 2019 07:54:58 +0000 (07:54 +0000)
Change-Id: Id03aaf4f2ea5c910e13274826e44033e12adcd2e

RELEASE-NOTES-1.33
includes/exception/MWExceptionHandler.php

index 12f915b..1f84421 100644 (file)
@@ -219,6 +219,8 @@ because of Phabricator reports.
   be unused, and is distinct from OutputPage->addLink(), which remains.
 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
   JsonContent->getData().
+* MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
+  exception ID is the same as the request ID, from WebRequest::getRequestId()..
 
 === Deprecations in 1.33 ===
 * The configuration option $wgUseESI has been deprecated, and is expected
index 951498e..6e3fa79 100644 (file)
@@ -462,22 +462,6 @@ TXT;
                }, $trace );
        }
 
-       /**
-        * Get the ID for this exception.
-        *
-        * The ID is saved so that one can match the one output to the user (when
-        * $wgShowExceptionDetails is set to false), to the entry in the debug log.
-        *
-        * @since 1.22
-        * @deprecated since 1.27: Exception IDs are synonymous with request IDs.
-        * @param Exception|Throwable $e
-        * @return string
-        */
-       public static function getLogId( $e ) {
-               wfDeprecated( __METHOD__, '1.27' );
-               return WebRequest::getRequestId();
-       }
-
        /**
         * If the exception occurred in the course of responding to a request,
         * returns the requested URL. Otherwise, returns false.