X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fexception%2FThrottledError.php;h=cdeb402a73300731b6e062bbcc71c89a0a72cce1;hb=11e3172c0382b5d69f63fa641be062b168f4047f;hp=bec0d904beef05999a1add03c6b50db56b807705;hpb=d8ac34ac31846a10d5a76a6e6d2a75b3d367c83d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/exception/ThrottledError.php b/includes/exception/ThrottledError.php index bec0d904be..cdeb402a73 100644 --- a/includes/exception/ThrottledError.php +++ b/includes/exception/ThrottledError.php @@ -32,9 +32,9 @@ class ThrottledError extends ErrorPageError { ); } - public function report() { + public function report( $action = ErrorPageError::SEND_OUTPUT ) { global $wgOut; $wgOut->setStatusCode( 429 ); - parent::report(); + parent::report( $action ); } }