Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28017 SCORM add unset_config for old config var

  • Loading branch information...
commit ab837e6113d65a839fa123d89cfe6b564622ffb3 1 parent ea819f2
@danmarsden danmarsden authored
Showing with 6 additions and 1 deletion.
  1. +5 −0 mod/scorm/db/upgrade.php
  2. +1 −1  mod/scorm/version.php
View
5 mod/scorm/db/upgrade.php
@@ -535,6 +535,11 @@ function xmldb_scorm_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011011400, 'scorm');
}
+ if ($oldversion < 2011021402) {
+ unset_config('updatetime', 'scorm');
+ upgrade_mod_savepoint(true, 2011021402, 'scorm');
+ }
+
return true;
}
View
2  mod/scorm/version.php
@@ -6,7 +6,7 @@
/////////////////////////////////////////////////////////////////////////////////
-$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)?
Please sign in to comment.
Something went wrong with that request. Please try again.