MDL-36594 reset cache inside course format when course marker is changed

This commit is contained in:
Marina Glancy 2012-11-15 16:20:05 +08:00
parent 399ad6bf3b
commit a062c97ce8

View File

@ -1252,6 +1252,7 @@ function get_module_types_names($plural = false) {
function course_set_marker($courseid, $marker) {
global $DB;
$DB->set_field("course", "marker", $marker, array('id' => $courseid));
format_base::reset_course_cache($courseid);
}
/**