Merge branch 'w41_MDL-35898_m23_coursereset' of git://github.com/skodak/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2012-10-09 11:58:35 +02:00
+4
View File
@@ -621,6 +621,10 @@ class phpunit_util {
$GROUPLIB_CACHE = null;
//TODO MDL-25290: add more resets here and probably refactor them to new core function
// Rest course and module caches.
$reset = 'reset';
get_fast_modinfo($reset);
// purge dataroot directory
self::reset_dataroot();