mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
Merge branch 'MDL-76936' of https://github.com/HirotoKagotani/moodle
This commit is contained in:
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user