From 0a5ece3d3b33f1b7829823ead97a2b1323112294 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Thu, 21 Oct 2010 01:56:03 +0000 Subject: [PATCH] navigation MDL-24783 Navigation cache is now cleared after editing a section name --- course/editsection.php | 1 + 1 file changed, 1 insertion(+) diff --git a/course/editsection.php b/course/editsection.php index 40d60de348287..e9a065b5fdf9e 100644 --- a/course/editsection.php +++ b/course/editsection.php @@ -60,6 +60,7 @@ $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"); }