MDL-28017 - SCORM unset old config var

This commit is contained in:
Dan Marsden 2011-07-12 09:46:23 +12:00
parent 6eca9e1c63
commit 59cdcb9770
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}

View File

@ -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)?