Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-30292 rework trailing whitespace test

Now compatible with zlib compression.
  • Loading branch information...
commit 7f467e69c0dc7652c57ffaeb32400bd8e6c8a415 1 parent acb3bf8
Petr Skoda skodak authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 admin/tool/health/index.php
8 admin/tool/health/index.php
View
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.