aboutsummaryrefslogtreecommitdiffstats
path: root/includes/WebStart.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/WebStart.php')
-rw-r--r--includes/WebStart.php2
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' );
}