modify_database('',"UPDATE prefix_blog_tag_instance SET timemodified = '".time()."';");
}
+ if ($oldversion < 2006040500) { // Add an index to course_sections that was never upgraded (bug 5100)
+ execute_sql(" CREATE INDEX coursesection ON {$CFG->prefix}course_sections (course,section) ", false);
+ }
+
return $result;
}
modify_database('',"UPDATE prefix_blog_tag_instance SET timemodified = '".time()."';");
}
+ if ($oldversion < 2006040500) { // Add an index to course_sections that was never upgraded (bug 5100)
+ execute_sql(" CREATE INDEX {$CFG->prefix}course_sections_coursesection_idx ON {$CFG->prefix}course_sections (course,section) ", false);
+ }
+
return $result;
}
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2006032900; // YYYYMMDD = date
+ $version = 2006040500; // YYYYMMDD = date
// XY = increments within a single day
- $release = '1.6 Beta 1'; // Human-friendly version name
+ $release = '1.6 Beta 2'; // Human-friendly version name
?>