]> git.mjollnir.org Git - moodle.git/commitdiff
Added changes from mysql.php
authorpaca70 <paca70>
Sat, 9 Oct 2004 06:33:50 +0000 (06:33 +0000)
committerpaca70 <paca70>
Sat, 9 Oct 2004 06:33:50 +0000 (06:33 +0000)
mod/exercise/db/postgres7.php

index 64d09eea450adfe8455d86da6ea7cab26fd322dc..55a63691fcd98c2b88ac4b6e4a3babdf8eba468f 100644 (file)
@@ -25,6 +25,11 @@ function exercise_upgrade($oldversion) {
         table_column("exercise_assessments","teachercomment","teachercomment","text","","","","NOT NULL");
     }
 
+    if ($oldversion < 2004100800) {
+        include_once("$CFG->dirroot/mod/exercise/lib.php");
+        exercise_refresh_events();
+    }
+
     return true;
 }