X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fexception%2FThrottledError.php;h=bec0d904beef05999a1add03c6b50db56b807705;hb=4b2f95bed5a9ae0a917264abed2ba1fd9fb78f3c;hp=ce5d52e659a62afb268218649cfe30c73c751073;hpb=868fef75725462c48b5bcf731799a7c9f31061ef;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/exception/ThrottledError.php b/includes/exception/ThrottledError.php index ce5d52e659..bec0d904be 100644 --- a/includes/exception/ThrottledError.php +++ b/includes/exception/ThrottledError.php @@ -34,7 +34,7 @@ class ThrottledError extends ErrorPageError { public function report() { global $wgOut; - $wgOut->setStatusCode( 503 ); + $wgOut->setStatusCode( 429 ); parent::report(); } }