2004111200 downto 2004070103

(version never changes in STABLE branches)
This commit is contained in:
stronk7
2004-11-18 19:12:32 +00:00
parent acc1bff289
commit ac8d60eae0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ function choice_upgrade($oldversion) {
modify_database("", "UPDATE prefix_choice SET publish = publish - 1 WHERE publish > 0;");
}
if ($oldversion < 2004111200){
if ($oldversion < 2004070103){
modify_database('','ALTER TABLE prefix_choice ADD INDEX course (course);');
modify_database('','ALTER TABLE prefix_choice_answers ADD INDEX choice (choice);');
modify_database('','ALTER TABLE prefix_choice_answers ADD INDEX userid (userid);');
+1 -1
View File
@@ -29,7 +29,7 @@ function choice_upgrade($oldversion) {
modify_database("", "UPDATE prefix_choice SET publish = publish - 1 WHERE publish > 0;");
}
if ($oldversion < 2004111200) {
if ($oldversion < 2004070103) {
modify_database('','CREATE INDEX prefix_choice_course_idx ON prefix_choice (course);');
modify_database('','CREATE INDEX prefix_choice_answers_choice_idx ON prefix_choice_answers (choice);');
modify_database('','CREATE INDEX prefix_choice_answers_userid_idx ON prefix_choice_answers (userid);');
+1 -1
View File
@@ -5,7 +5,7 @@
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
$module->version = 2004111200;
$module->version = 2004070103;
$module->requires = 2004052505; // Requires this Moodle version
$module->cron = 0;