From: moodler Date: Thu, 1 Apr 2004 15:41:25 +0000 (+0000) Subject: Update old events X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ecc8e21b264e34b314dfe2cbd7796481ead6c590;p=moodle.git Update old events --- diff --git a/mod/assignment/db/postgres7.php b/mod/assignment/db/postgres7.php index 9f945e0dc4..c15072c0f8 100644 --- a/mod/assignment/db/postgres7.php +++ b/mod/assignment/db/postgres7.php @@ -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; }