mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 11:23:06 +02:00
MDL-36594 reset cache inside course format when course marker is changed
This commit is contained in:
parent
399ad6bf3b
commit
a062c97ce8
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user