mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-33359' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
b3520a4ae7
@ -9642,7 +9642,7 @@ function address_in_subnet($addr, $subnetstr) {
|
||||
*/
|
||||
function mtrace($string, $eol="\n", $sleep=0) {
|
||||
|
||||
if (defined('STDOUT')) {
|
||||
if (defined('STDOUT') and !PHPUNIT_TEST) {
|
||||
fwrite(STDOUT, $string.$eol);
|
||||
} else {
|
||||
echo $string . $eol;
|
||||
|
Loading…
x
Reference in New Issue
Block a user