aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/HttpStatus.php
diff options
context:
space:
mode:
authorAmir Sarabadani <ladsgroup@gmail.com>2022-11-02 18:22:08 +0100
committerAmir Sarabadani <ladsgroup@gmail.com>2022-11-08 10:53:27 +0100
commit7690ab4e33eafdcd0aa0a3eb85f47738204d52bf (patch)
tree53982b787e225592b517e9ebe7921ef769c0878a /includes/libs/HttpStatus.php
parent431b9663a121246ba8a3f8c57705ad6e89eefadc (diff)
downloadmediawikicore-7690ab4e33eafdcd0aa0a3eb85f47738204d52bf.tar.gz
mediawikicore-7690ab4e33eafdcd0aa0a3eb85f47738204d52bf.zip
Reorg: Move HeaderCallback to Request directory
Cleaning root of includes/ Bug: T321882 Change-Id: I1844da95d4fd79824646fdf4b6063cb771ca3000
Diffstat (limited to 'includes/libs/HttpStatus.php')
-rw-r--r--includes/libs/HttpStatus.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/HttpStatus.php b/includes/libs/HttpStatus.php
index 4b1416050182..1c4525d129fe 100644
--- a/includes/libs/HttpStatus.php
+++ b/includes/libs/HttpStatus.php
@@ -101,7 +101,7 @@ class HttpStatus {
return;
}
- MediaWiki\HeaderCallback::warnIfHeadersSent();
+ \MediaWiki\Request\HeaderCallback::warnIfHeadersSent();
if ( $version === null ) {
$version = isset( $_SERVER['SERVER_PROTOCOL'] ) &&
$_SERVER['SERVER_PROTOCOL'] === 'HTTP/1.0' ?