2004121100 downto 2004060401

(version never changes in STABLE branches)
This commit is contained in:
stronk7
2004-11-18 19:08:56 +00:00
parent cd3565a13c
commit 4f854e3830
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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`);');
+1 -1
View File
@@ -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);');
+1 -1
View File
@@ -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)?