Permalink
Browse files

MDL-30292 rework trailing whitespace test

Now compatible with zlib compression.
  • Loading branch information...
1 parent acb3bf8 commit 7f467e69c0dc7652c57ffaeb32400bd8e6c8a415 @skodak skodak committed Dec 10, 2011
Showing with 1 addition and 7 deletions.
  1. +1 −7 admin/tool/health/index.php
View
8 admin/tool/health/index.php
@@ -25,13 +25,7 @@
ob_start(); //for whitespace test
require('../../../config.php');
-
- // extra whitespace test - intentionally breaks cookieless mode
- $extraws = '';
- while (ob_get_level()) {
- $extraws .= ob_get_contents();
- ob_end_clean();
- }
+ $extraws = ob_get_clean();
require_once($CFG->libdir.'/adminlib.php');

0 comments on commit 7f467e6

Please sign in to comment.