]> git.mjollnir.org Git - moodle.git/commitdiff
Add a log entry under the module name whenever the module is updated
authormoodler <moodler>
Sat, 31 Jan 2004 11:53:49 +0000 (11:53 +0000)
committermoodler <moodler>
Sat, 31 Jan 2004 11:53:49 +0000 (11:53 +0000)
course/mod.php

index c32be8d66f752cfdd526dfa88b1b87fa3fda04e2..2db035385168186cacbe1bfa806fb1e67df0df88 100644 (file)
@@ -59,6 +59,9 @@
                 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", 
+                           "../mod/$mod->modulename/view.php?id=$mod->coursemodule", 
+                           "$mod->instance"); 
                 break;
 
             case "add":