MDL-28493 - fix version in upgrade - thanks Andrew
authorDan Marsden <dan@danmarsden.com>
Wed, 3 Aug 2011 03:36:52 +0000 (15:36 +1200)
committerDan Marsden <dan@danmarsden.com>
Wed, 3 Aug 2011 03:36:52 +0000 (15:36 +1200)
mod/scorm/db/upgrade.php

index 2f24c87..c5ce688 100644 (file)
@@ -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;