Fix return in HttpStatus::header
No caller expected a bool as return, which is not given in any case, so remove it Change-Id: Iaf994342e9f783108c767bb2de13af7345247805
This commit is contained in:
parent
e754f6803f
commit
d19a4dd230
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class HttpStatus {
|
|||
$message = self::getMessage( $code );
|
||||
if ( $message === null ) {
|
||||
trigger_error( "Unknown HTTP status code $code", E_USER_WARNING );
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
MediaWiki\HeaderCallback::warnIfHeadersSent();
|
||||
|
|
|
|||
Loading…
Reference in a new issue