Skip to content

Commit

Permalink
navigation MDL-24783 Navigation cache is now cleared after editing a …
Browse files Browse the repository at this point in the history
…section name
  • Loading branch information
Sam Hemelryk committed Oct 21, 2010
1 parent 444ca6e commit 0a5ece3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions course/editsection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 0a5ece3

Please sign in to comment.