mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
fixing a weird index in scorm_scoes_track (see bug report 4742)
This commit is contained in:
parent
a9149e77e4
commit
81ef8c1f48
@ -212,6 +212,10 @@ function scorm_upgrade($oldversion) {
|
||||
table_column("scorm", "", "maxattempt", "INT", "10", "UNSIGNED", "1", "NOT NULL", "maxgrade");
|
||||
}
|
||||
|
||||
if ($oldversion < 2006021400) { //some people have this werid key - see bug 4742
|
||||
execute_sql("ALTER TABLE {$CFG->prefix}scorm_scoes_track DROP INDEX elemeny;",false); // do it silently
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
?>
|
||||
|
@ -5,7 +5,7 @@
|
||||
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2005102800; // The (date) version of this module
|
||||
$module->version = 2006021400; // The (date) version of this module
|
||||
$module->requires = 2005060200; // The version of Moodle that is required
|
||||
$module->cron = 0; // How often should cron check this module (seconds)?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user