diff --git a/mod/scorm/db/upgrade.php b/mod/scorm/db/upgrade.php index 2f24c877620..c5ce68830e1 100644 --- a/mod/scorm/db/upgrade.php +++ b/mod/scorm/db/upgrade.php @@ -552,7 +552,7 @@ function xmldb_scorm_upgrade($oldversion) { $table = new xmldb_table('scorm_seq_objective'); $field = new xmldb_field('objectiveid', XMLDB_TYPE_CHAR, '255', null, XMLDB_NOTNULL, null, null, 'primaryobj'); $dbman->change_field_type($table, $field); - upgrade_main_savepoint(true, 2011073100, 'scorm'); + upgrade_mod_savepoint(true, 2011073100, 'scorm'); } return true;