Skip to content

Commit

Permalink
MDL-30292 backport Petr's fix for the trailing whitespace test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Dec 12, 2011
1 parent d380fae commit 9554609
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions admin/health.php
Expand Up @@ -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');

Expand Down

0 comments on commit 9554609

Please sign in to comment.