Skip to content
Browse files

2004111200 downto 2004060401

(version never changes in STABLE branches)
  • Loading branch information...
1 parent c7b29ed commit cd3565a13cbbf3b7692217451a2602748695c673 stronk7 committed Nov 18, 2004
View
2 mod/assignment/db/mysql.php
@@ -99,7 +99,7 @@ function assignment_upgrade($oldversion) {
assignment_refresh_events();
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004060401) {
modify_database('','ALTER TABLE prefix_assignment ADD INDEX course (course);');
modify_database('','ALTER TABLE prefix_assignment_submissions ADD INDEX assignment(assignment);');
modify_database('','ALTER TABLE prefix_assignment_submissions ADD INDEX userid (userid);');
View
2 mod/assignment/db/postgres7.php
@@ -97,7 +97,7 @@ function assignment_upgrade($oldversion) {
assignment_refresh_events();
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004060401) {
modify_database('','CREATE INDEX prefix_assignment_course_idx ON prefix_assignment (course);');
modify_database('','CREATE INDEX prefix_assignment_submissions_assignment_idx ON prefix_assignment_submissions (assignment);');
modify_database('','CREATE INDEX prefix_assignment_submissions_userid_idx ON prefix_assignment_submissions (userid);');
View
2 mod/assignment/version.php
@@ -5,7 +5,7 @@
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
-$module->version = 2004111200;
+$module->version = 2004060401;
$module->requires = 2004052505; // Requires this Moodle version
$module->cron = 60;
View
2 mod/attendance/db/mysql.php
@@ -20,7 +20,7 @@ function attendance_upgrade($oldversion) {
modify_database("", "INSERT INTO {$CFG->prefix}log_display VALUES ('attendance', 'viewweek', 'attendance', 'name');");
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004060401) {
modify_database('','ALTER TABLE prefix_attendance ADD INDEX course (course);');
modify_database('','ALTER TABLE prefix_attendance_roll ADD INDEX dayid (dayid);');
modify_database('','ALTER TABLE prefix_attendance_roll ADD INDEX userid (userid);');
View
2 mod/attendance/db/postgres7.php
@@ -18,7 +18,7 @@ function attendance_upgrade($oldversion) {
table_column("attendance", "", "autoattend", "integer", 2, "unsigned", "0", "not null");
}
- if ($oldversion < 2004111200) {
+ if ($oldversion < 2004060401) {
modify_database('','CREATE INDEX prefix_attendance_course_idx ON prefix_attendance (course);');
modify_database('','CREATE INDEX prefix_attendance_roll_dayid_idx ON prefix_attendance_roll (dayid);');
modify_database('','CREATE INDEX prefix_attendance_roll_userid_idx ON prefix_attendance_roll (userid);');
View
2 mod/attendance/version.php
@@ -5,7 +5,7 @@
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
/////////////////////////////////////////////////////////////////////////////////
-$module->version = 2004111200; // The current module version (Date: YYYYMMDDXX)
+$module->version = 2004060401; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2004052505; // Requires this Moodle version
$module->cron = 3600; // Period for cron to check this module (secs)

0 comments on commit cd3565a

Please sign in to comment.
Something went wrong with that request. Please try again.