]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 1.7
authorvyshane <vyshane>
Mon, 16 Oct 2006 02:45:38 +0000 (02:45 +0000)
committervyshane <vyshane>
Mon, 16 Oct 2006 02:45:38 +0000 (02:45 +0000)
course/rest.php

index b837c9554071b19dd012efdffa71ec82d52ae5f0..dd6548b2d07107232830424d228047905e449d3d 100644 (file)
@@ -169,6 +169,8 @@ switch($_SERVER['REQUEST_METHOD']) {
                     die;
                 }
 
+                rebuild_course_cache($course->id);
+
                 add_to_log($courseid, "course", "delete mod",
                            "view.php?id=$courseid",
                            "$mod->name $cm->instance", $cm->id);