just in case someone has the index elemeny and not element

This commit is contained in:
toyomoyo
2006-04-24 02:17:16 +00:00
parent 8634bc275d
commit 4c3b42f7c5
+1
View File
@@ -214,6 +214,7 @@ function scorm_upgrade($oldversion) {
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
execute_sql("ALTER TABLE {$CFG->prefix}scorm_scoes_track ADD INDEX element(element(255));",false);
}
return true;