diff options
author | Chad Horohoe <chadh@wikimedia.org> | 2014-11-18 14:02:32 -0800 |
---|---|---|
committer | Chad Horohoe <chadh@wikimedia.org> | 2014-11-18 14:03:25 -0800 |
commit | e42aa3befae9118fda981ec6b188f96d90f3dd5b (patch) | |
tree | 4a01ad390808811a16fcde2d157fde52f510be23 /includes/WebStart.php | |
parent | efc6e21b92675fda15d5f11f5862aa46474d6716 (diff) | |
download | mediawikicore-e42aa3befae9118fda981ec6b188f96d90f3dd5b.tar.gz mediawikicore-e42aa3befae9118fda981ec6b188f96d90f3dd5b.zip |
MW_NO_OUTPUT_BUFFER is never defined
It may have been defined at one time, but now it's just
function overhead to check on every request.
Change-Id: I05963a0e496e0a960a4feb6877a03e67c5a6fc85
Diffstat (limited to 'includes/WebStart.php')
-rw-r--r-- | includes/WebStart.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/WebStart.php b/includes/WebStart.php index dd27f3d602c2..217ba3fbd81e 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -111,7 +111,7 @@ wfProfileIn( 'WebStart.php-ob_start' ); # Check that there is no previous output or previously set up buffers, because # that would cause us to potentially mix gzip and non-gzip output, creating a # big mess. -if ( !defined( 'MW_NO_OUTPUT_BUFFER' ) && ob_get_level() == 0 ) { +if ( ob_get_level() == 0 ) { require_once "$IP/includes/OutputHandler.php"; ob_start( 'wfOutputHandler' ); } |