Merge branch 'wip-MDL-42016-master' of git://github.com/marinaglancy/moodle
[moodle.git] / lib / phpunit / classes / util.php
index fc51e26..91efe88 100644 (file)
@@ -201,9 +201,6 @@ class phpunit_util extends testing_util {
         events_get_handlers('reset');
         core_text::reset_caches();
         get_message_processors(false, true);
-        if (class_exists('repository')) {
-            repository::reset_caches();
-        }
         filter_manager::reset_caches();
         //TODO MDL-25290: add more resets here and probably refactor them to new core function