Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 9554609d6011071ad821dfc090b9b0e340068016 1 parent d380fae
@samhemelryk samhemelryk authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 admin/health.php
View
8 admin/health.php
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.