MWException: Remove deprecated methods
authorChad Horohoe <chadh@wikimedia.org>
Mon, 12 May 2014 21:36:15 +0000 (14:36 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Wed, 14 May 2014 22:01:37 +0000 (22:01 +0000)
No callers in core or extensions.

Change-Id: I3e2dc615bcd23838cf096625a767a7cf50fea140

includes/exception/MWException.php

index 782a44b..58b07f5 100644 (file)
@@ -177,31 +177,6 @@ class MWException extends Exception {
                return $this->msg( 'internalerror', 'Internal error' );
        }
 
-       /**
-        * Get a the ID for this error.
-        *
-        * @since 1.20
-        * @deprecated since 1.22 Use MWExceptionHandler::getLogId instead.
-        * @return string
-        */
-       public function getLogId() {
-               wfDeprecated( __METHOD__, '1.22' );
-               return MWExceptionHandler::getLogId( $this );
-       }
-
-       /**
-        * Return the requested URL and point to file and line number from which the
-        * exception occurred
-        *
-        * @since 1.8
-        * @deprecated since 1.22 Use MWExceptionHandler::getLogMessage instead.
-        * @return string
-        */
-       public function getLogMessage() {
-               wfDeprecated( __METHOD__, '1.22' );
-               return MWExceptionHandler::getLogMessage( $this );
-       }
-
        /**
         * Output the exception report using HTML.
         */