MDL-35339 Better cache reset for get_fast_modinfo(), allow exec get_fast_modinfo($courseid)
This commit is contained in:
@@ -640,8 +640,7 @@ class phpunit_util {
|
||||
// If file containing class is not loaded, there is no cache there anyway.
|
||||
format_base::reset_course_cache(0);
|
||||
}
|
||||
$reset = 'reset';
|
||||
get_fast_modinfo($reset);
|
||||
get_fast_modinfo(0, 0, true);
|
||||
|
||||
// purge dataroot directory
|
||||
self::reset_dataroot();
|
||||
|
||||
Reference in New Issue
Block a user