diff --git a/mod/scorm/db/upgrade.php b/mod/scorm/db/upgrade.php index 48cc62b6877..31d5b55e0dd 100644 --- a/mod/scorm/db/upgrade.php +++ b/mod/scorm/db/upgrade.php @@ -542,6 +542,11 @@ function xmldb_scorm_upgrade($oldversion) { // Moodle v2.1.0 release upgrade line // Put any upgrade step following this + if ($oldversion < 2011021402) { + unset_config('updatetime', 'scorm'); + upgrade_mod_savepoint(true, 2011021402, 'scorm'); + } + return true; } diff --git a/mod/scorm/version.php b/mod/scorm/version.php index 80926b48090..0ae6a44a6fb 100644 --- a/mod/scorm/version.php +++ b/mod/scorm/version.php @@ -23,7 +23,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$module->version = 2011021400; // The (date) version of this module +$module->version = 2011021402; // The (date) version of this module $module->requires = 2010080300; // The version of Moodle that is required $module->cron = 300; // How often should cron check this module (seconds)?