|
@@ -476,6 +476,17 @@ function xmldb_iassign_upgrade ($oldversion) {
|
|
|
|
|
|
} // if ($oldversion < 2020122900)
|
|
|
|
|
|
+ if ($oldversion < 2021020700) {
|
|
|
+
|
|
|
+ // Update SAW iVProg to inform reevalute is enabled:
|
|
|
+ $updateentry = new stdClass();
|
|
|
+ $updateentry->id = 57;
|
|
|
+ $updateentry->reevaluate = 1;
|
|
|
+ $updateentry->timemodified = time();
|
|
|
+ $DB->update_record("iassign_ilm", $updateentry); // insert new iLM
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
// log event -----------------------------------------------------
|
|
|
if (class_exists('plugin_manager'))
|
|
|
$pluginman = plugin_manager::instance();
|