navigation MDL-24783 Navigation cache is now cleared after editing a section name
This commit is contained in:
@@ -60,6 +60,7 @@ if ($mform->is_cancelled()){
|
||||
$section->summaryformat = $data->summaryformat;
|
||||
$DB->update_record('course_sections', $section);
|
||||
add_to_log($course->id, "course", "editsection", "editsection.php?id=$section->id", "$section->section");
|
||||
$PAGE->navigation->clear_cache();
|
||||
redirect("view.php?id=$course->id");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user