]> git.mjollnir.org Git - moodle.git/commitdiff
Adding back the missing logs ... they are needed by recent activity - doh!
authormoodler <moodler>
Mon, 2 Feb 2004 09:44:06 +0000 (09:44 +0000)
committermoodler <moodler>
Mon, 2 Feb 2004 09:44:06 +0000 (09:44 +0000)
course/mod.php

index 838d29d9b3580b0420cef8aba56725f25ec4ab0e..d112a38af63450a7c3b450a6b7f915a7dd17b1e2 100644 (file)
@@ -56,6 +56,9 @@
                 if (is_string($return)) {
                     error($return, "view.php?id=$mod->course");
                 }
+                add_to_log($mod->course, "course", "update mod", 
+                           "../mod/$mod->modulename/view.php?id=$mod->coursemodule", 
+                           "$mod->modulename $mod->instance"); 
                 add_to_log($mod->course, $mod->modulename, "update", 
                            "view.php?id=$mod->coursemodule", 
                            "$mod->instance", $mod->coursemodule); 
@@ -94,6 +97,9 @@
                 if (! set_field("course_modules", "section", $sectionid, "id", $mod->coursemodule)) {
                     error("Could not update the course module with the correct section");
                 }   
+                add_to_log($mod->course, "course", "add mod", 
+                           "../mod/$mod->modulename/view.php?id=$mod->coursemodule", 
+                           "$mod->modulename $mod->instance"); 
                 add_to_log($mod->course, $mod->modulename, "add", 
                            "view.php?id=$mod->coursemodule", 
                            "$mod->instance", $mod->coursemodule);