dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f9a05
)
parent::report() returns nothing, so don't attempt to return its value
author
Reedy
<reedy@wikimedia.org>
Sat, 7 Apr 2012 18:39:43 +0000
(19:39 +0100)
committer
Reedy
<reedy@wikimedia.org>
Sat, 7 Apr 2012 18:39:43 +0000
(19:39 +0100)
Change-Id: Id506d51818bf101a68fe8b028df2062ed221cdf9
includes/Exception.php
patch
|
blob
|
history
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
e7700b5
..
c75da5a
100644
(file)
--- 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();
}
}