From: Reedy Date: Sat, 7 Apr 2012 18:39:43 +0000 (+0100) Subject: parent::report() returns nothing, so don't attempt to return its value X-Git-Tag: 1.31.0-rc.0~23962^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=8c84c3879b659501e055a41a921f09f29ff6fc2f;p=lhc%2Fweb%2Fwiklou.git parent::report() returns nothing, so don't attempt to return its value Change-Id: Id506d51818bf101a68fe8b028df2062ed221cdf9 --- diff --git a/includes/Exception.php b/includes/Exception.php index e7700b51cf..c75da5a74e 100644 --- a/includes/Exception.php +++ b/includes/Exception.php @@ -270,7 +270,6 @@ class ErrorPageError extends MWException { function report() { global $wgOut; - $wgOut->showErrorPage( $this->title, $this->msg, $this->params ); $wgOut->output(); } @@ -373,7 +372,7 @@ class ThrottledError extends ErrorPageError { public function report(){ global $wgOut; $wgOut->setStatusCode( 503 ); - return parent::report(); + parent::report(); } }