navigation MDL-24783 Navigation cache is now cleared after editing a section name

This commit is contained in:
Sam Hemelryk
2010-10-21 01:56:03 +00:00
parent 444ca6edda
commit 0a5ece3d3b
+1
View File
@@ -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");
}