Permalink
Browse files

MDL-30292 backport Petr's fix for the trailing whitespace test

  • Loading branch information...
1 parent d380fae commit 9554609d6011071ad821dfc090b9b0e340068016 Sam Hemelryk committed Dec 12, 2011
Showing with 1 addition and 7 deletions.
  1. +1 −7 admin/health.php
View
@@ -2,13 +2,7 @@
ob_start(); //for whitespace test
require_once('../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 9554609

Please sign in to comment.