Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
helly25 committed Jan 26, 2003
1 parent e9d0a58 commit 494bec4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions run-tests.php
Expand Up @@ -72,10 +72,7 @@
set_time_limit(0);

// delete as much output buffers as possible
$ob = ob_get_level();
if ($ob) do {
@ob_end_clean();
} while(($ob > 1) && ($ob-- > ob_get_level()));
while(@ob_end_clean());
if (ob_get_level()) echo "Not all buffers were deleted.\n";

error_reporting(E_ALL);
Expand Down

0 comments on commit 494bec4

Please sign in to comment.