Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'w41_MDL-35898_m23_coursereset' of git://github.com/skod…

…ak/moodle into MOODLE_23_STABLE
  • Loading branch information...
commit 5553d3d60f786c70577cac0d9da82d669fcde9d3 2 parents aedc642 + e22cff4
@stronk7 stronk7 authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/phpunit/classes/util.php
View
4 lib/phpunit/classes/util.php
@@ -621,6 +621,10 @@ public static function reset_all_data($logchanges = false) {
$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();
Please sign in to comment.
Something went wrong with that request. Please try again.