Merge branch 'MDL-51053-master' of git://github.com/sammarshallou/moodle

This commit is contained in:
David Monllao
2015-08-12 08:23:29 +08:00
3 changed files with 51 additions and 18 deletions
+5
View File
@@ -239,6 +239,11 @@ class phpunit_util extends testing_util {
\core\update\deployer::reset_caches(true);
}
// Clear static cache within restore.
if (class_exists('restore_section_structure_step')) {
restore_section_structure_step::reset_caches();
}
// purge dataroot directory
self::reset_dataroot();