Permalink
Browse files

2004121100 downto 2004060401

(version never changes in STABLE branches)
  • Loading branch information...
1 parent cd3565a commit 4f854e3830b794a4a3fe365cb0c1935fd6f87270 stronk7 committed Nov 18, 2004
Showing with 3 additions and 3 deletions.
  1. +1 −1 mod/chat/db/mysql.php
  2. +1 −1 mod/chat/db/postgres7.php
  3. +1 −1 mod/chat/version.php
@@ -37,7 +37,7 @@ function chat_upgrade($oldversion) {
modify_database("", "INSERT INTO prefix_log_display VALUES ('chat', 'talk', 'chat', 'name');");
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004060401) {
modify_database('','ALTER TABLE prefix_chat ADD INDEX `course` (`course`);');
modify_database('','ALTER TABLE prefix_chat_messages ADD INDEX `chatid` (`chatid`);');
modify_database('','ALTER TABLE prefix_chat_messages ADD INDEX `userid` (`userid`);');
@@ -20,7 +20,7 @@ function chat_upgrade($oldversion) {
modify_database("", "INSERT INTO prefix_log_display VALUES ('chat', 'talk', 'chat', 'name');");
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004060401) {
modify_database('','CREATE INDEX prefix_chat_course_idx ON prefix_chat(course);');
modify_database('','CREATE INDEX prefix_chat_messages_chatid_idx ON prefix_chat_messages (chatid);');
modify_database('','CREATE INDEX prefix_chat_messages_userid_idx ON prefix_chat_messages (userid);');
@@ -5,7 +5,7 @@
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
/////////////////////////////////////////////////////////////////////////////////
-$module->version = 2004121100; // The (date) version of this module
+$module->version = 2004060401; // The (date) version of this module
$module->requires = 2004052505; // Requires this Moodle version
$module->cron = 300; // How often should cron check this module (seconds)?

0 comments on commit 4f854e3

Please sign in to comment.