X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fexception%2FThrottledError.php;h=bec0d904beef05999a1add03c6b50db56b807705;hb=1542ea80d19b765e0aca0325268b2c22f35b3aa9;hp=ce5d52e659a62afb268218649cfe30c73c751073;hpb=89ca4641e6247f3764233a4158fe884d43288447;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(); } }