Merge branch 'MDL-38912_24' of git://github.com/timhunt/moodle into MOODLE_24_STABLE
This commit is contained in:
@@ -606,6 +606,14 @@ class phpunit_util {
|
||||
if ($COURSE->id != $oldsite->id) {
|
||||
$warnings[] = 'Warning: unexpected change of $COURSE';
|
||||
}
|
||||
|
||||
if (ini_get('max_execution_time') != 0) {
|
||||
// TODO un-comment this warning, once we have fixed the test
|
||||
// failures that it causes.
|
||||
// $warnings[] = 'Warning: max_execution_time was changed.';
|
||||
// See MDL-38989 for details.
|
||||
set_time_limit(0);
|
||||
}
|
||||
}
|
||||
|
||||
// restore original globals
|
||||
|
||||
Reference in New Issue
Block a user