From: Chad Horohoe Date: Tue, 18 Nov 2014 22:02:32 +0000 (-0800) Subject: MW_NO_OUTPUT_BUFFER is never defined X-Git-Tag: 1.31.0-rc.0~13257 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27user_edit%27%2C%20userid=session.user.id%29%20%7D%7D?a=commitdiff_plain;h=e42aa3befae9118fda981ec6b188f96d90f3dd5b;p=lhc%2Fweb%2Fwiklou.git 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 --- diff --git a/includes/WebStart.php b/includes/WebStart.php index dd27f3d602..217ba3fbd8 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' ); }