]> git.mjollnir.org Git - moodle.git/commitdiff
Update old events
authormoodler <moodler>
Thu, 1 Apr 2004 15:41:25 +0000 (15:41 +0000)
committermoodler <moodler>
Thu, 1 Apr 2004 15:41:25 +0000 (15:41 +0000)
mod/assignment/db/postgres7.php

index 9f945e0dc41b5262aa4cccb3ba341245a952d616..c15072c0f8956a2855240f74a134d47fb828924e 100644 (file)
@@ -92,6 +92,11 @@ function assignment_upgrade($oldversion) {
         set_field("log_display", "action", "view submission", "module", "assignment", "action", "view submissions");
     }
 
+    if ($oldversion < 2004040100) {
+        include_once("$CFG->dirroot/mod/assignment/lib.php");
+        assignment_refresh_events();
+    }
+
     return true;
 }