1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 18:04:43 +02:00
This commit is contained in:
Sara Arjona 2023-06-06 11:22:08 +02:00
commit 1d2e8bcc33

@ -5627,6 +5627,10 @@ function reset_course_userdata($data) {
// Update calendar events for all modules.
course_module_bulk_update_calendar_events($modname, $data->courseid);
}
// Purge the course cache after resetting course start date. MDL-76936
if ($data->timeshift) {
course_modinfo::purge_course_cache($data->courseid);
}
}
// Mention unsupported mods.