2004111000 downto 2004060401
(version never changes in STABLE branches)
This commit is contained in:
@@ -15,7 +15,7 @@ function dialogue_upgrade($oldversion) {
|
||||
execute_sql(" ALTER TABLE `{$CFG->prefix}dialogue_conversations` ADD `seenon` INT(10) unsigned NOT NULL DEFAULT '0' AFTER `closed`");
|
||||
}
|
||||
|
||||
if ($oldversion < 2004111000) {
|
||||
if ($oldversion < 2004060401) {
|
||||
modify_database('','ALTER TABLE prefix_dialogue ADD KEY course (course);');
|
||||
modify_database('','ALTER TABLE prefix_dialogue_conversations ADD KEY recipientid (recipientid);');
|
||||
modify_database('','ALTER TABLE prefix_dialogue_conversations ADD KEY userid (userid);');
|
||||
|
||||
@@ -6,7 +6,7 @@ function dialogue_upgrade($oldversion) {
|
||||
|
||||
global $CFG;
|
||||
|
||||
if ($oldversion < 2004111000) {
|
||||
if ($oldversion < 2004060401) {
|
||||
modify_database('','CREATE INDEX prefix_dialogue_course_idx ON prefix_dialogue (course);');
|
||||
modify_database('','CREATE INDEX prefix_dialogue_conversations_userid_idx ON prefix_dialogue_conversations (userid);');
|
||||
modify_database('','CREATE INDEX prefix_dialogue_conversations_recipientid_idx ON prefix_dialogue_conversations (recipientid);');
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// This fragment is called by /admin/index.php
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2004111000;
|
||||
$module->version = 2004060401;
|
||||
$module->requires = 2004052505; // Requires this Moodle version
|
||||
$module->cron = 60;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user