Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a55ee2
)
NOBUG: I hate the shut-up operator, really!
author
Eloy Lafuente
<stronk7@moodle.org>
Wed, 17 Nov 2010 11:02:32 +0000
(11:02 +0000)
committer
Eloy Lafuente
<stronk7@moodle.org>
Wed, 17 Nov 2010 11:02:32 +0000
(11:02 +0000)
admin/report/unittest/dbtest.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/report/unittest/dbtest.php
b/admin/report/unittest/dbtest.php
index
1a66cbe
..
109421b
100644
(file)
--- a/
admin/report/unittest/dbtest.php
+++ b/
admin/report/unittest/dbtest.php
@@
-69,7
+69,9
@@
for ($i=1; $i<=10; $i++) {
if (!empty($tests)) {
@ob_implicit_flush(true);
- while(@ob_end_flush());
+ while(ob_get_level()) {
+ ob_end_flush();
+ }
$covreporter = new moodle_coverage_reporter('Functional DB Tests Code Coverage Report', 'dbtest');
$covrecorder = new moodle_coverage_recorder($covreporter);