dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fixed race condition in MessageCache::replace"
[lhc/web/wiklou.git]
/
includes
/
AjaxResponse.php
diff --git
a/includes/AjaxResponse.php
b/includes/AjaxResponse.php
index
8e9f490
..
b3a6573
100644
(file)
--- a/
includes/AjaxResponse.php
+++ b/
includes/AjaxResponse.php
@@
-159,7
+159,7
@@
class AjaxResponse {
function sendHeaders() {
if ( $this->mResponseCode ) {
$n = preg_replace( '/^ *(\d+)/', '\1', $this->mResponseCode );
function sendHeaders() {
if ( $this->mResponseCode ) {
$n = preg_replace( '/^ *(\d+)/', '\1', $this->mResponseCode );
-
header( "Status: " . $this->mResponseCode, true, (int)
$n );
+
HttpStatus::header(
$n );
}
header ( "Content-Type: " . $this->mContentType );
}
header ( "Content-Type: " . $this->mContentType );