MDL-35339 call rebuild_course_cache() always (and only) after changing course modules or sections
This commit is contained in:
@@ -132,7 +132,6 @@ if ($editform->is_cancelled()) {
|
||||
// Save any changes to the files used in the editor
|
||||
update_course($data, $editoroptions);
|
||||
}
|
||||
rebuild_course_cache($course->id);
|
||||
|
||||
switch ($returnto) {
|
||||
case 'category':
|
||||
|
||||
Reference in New Issue
Block a user