From: Chad Horohoe Date: Mon, 12 May 2014 21:36:15 +0000 (-0700) Subject: MWException: Remove deprecated methods X-Git-Tag: 1.31.0-rc.0~15714 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=fefc89448dee2fb4f539a2ab213302193a194f11;p=lhc%2Fweb%2Fwiklou.git MWException: Remove deprecated methods No callers in core or extensions. Change-Id: I3e2dc615bcd23838cf096625a767a7cf50fea140 --- diff --git a/includes/exception/MWException.php b/includes/exception/MWException.php index 782a44bdf8..58b07f5af8 100644 --- a/includes/exception/MWException.php +++ b/includes/exception/MWException.php @@ -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. */