Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/174298

Change subject: MW_NO_OUTPUT_BUFFER is never defined
......................................................................

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
---
M includes/WebStart.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/98/174298/1

diff --git a/includes/WebStart.php b/includes/WebStart.php
index dd27f3d..217ba3f 100644
--- a/includes/WebStart.php
+++ b/includes/WebStart.php
@@ -111,7 +111,7 @@
 # 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' );
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/174298
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I05963a0e496e0a960a4feb6877a03e67c5a6fc85
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to