Permalink
Browse files

Downgrading versions to fix recent mistake in upgrading

  • Loading branch information...
1 parent ac8d60e commit db6efd66bd819116dbd0797168cbdb5ec193d00d moodler committed Nov 18, 2004
Showing with 3 additions and 3 deletions.
  1. +1 −1 mod/forum/db/mysql.php
  2. +1 −1 mod/forum/db/postgres7.php
  3. +1 −1 mod/forum/version.php
View
@@ -139,7 +139,7 @@ function forum_upgrade($oldversion) {
execute_sql(" ALTER TABLE `{$CFG->prefix}forum_discussions` ADD INDEX {$CFG->prefix}forum_discussions_userid_idx (userid) ");
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004081801) {
modify_database('','ALTER TABLE prefix_forum ADD INDEX course (course);');
modify_database('','ALTER TABLE prefix_forum_ratings ADD INDEX userid (userid);');
modify_database('','ALTER TABLE prefix_forum_ratings ADD INDEX post (post);');
@@ -70,7 +70,7 @@ function forum_upgrade($oldversion) {
execute_sql(" CREATE INDEX {$CFG->prefix}forum_discussions_userid_idx ON {$CFG->prefix}forum_discussions (userid) ");
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004081801) {
modify_database('','CREATE INDEX prefix_forum_course_idx ON prefix_forum (course);');
modify_database('','CREATE INDEX prefix_forum_queue_userid_idx ON prefix_forum_queue (userid);');
modify_database('','CREATE INDEX prefix_forum_queue_discussion_idx ON prefix_forum_queue (discussionid);');
View
@@ -5,7 +5,7 @@
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
-$module->version = 2004111200;
+$module->version = 2004081801;
$module->requires = 2004082300; // Requires this Moodle version
$module->cron = 60;

0 comments on commit db6efd6

Please sign in to comment.