2004121100 downto 2004060401
(version never changes in STABLE branches)
This commit is contained in:
@@ -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)?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user