Browse files

Reverting commits just made. They are not intended to be in MOODLE_15…

…_STABLE
  • Loading branch information...
1 parent 80fc4f8 commit 46dc437f6671e5e0592d79271e72d33b0566fb1e patrickslee committed Oct 30, 2005
Showing with 1 addition and 11 deletions.
  1. +0 −5 lib/db/mysql.php
  2. +0 −5 lib/db/postgres7.php
  3. +1 −1 version.php
View
5 lib/db/mysql.php
@@ -1460,11 +1460,6 @@ function main_upgrade($oldversion=0) {
execute_sql("DROP TABLE {$CFG->prefix}currencies",false); // drop silently
}
- if ($oldversion < 2005103100) { // Repair enrol field in user_students/user_teacher table
- execute_sql("UPDATE {$CFG->prefix}user_students SET enrol='manual' WHERE enrol='' OR enrol='internal'");
- execute_sql("UPDATE {$CFG->prefix}user_teachers SET enrol='manual' WHERE enrol=''");
- }
-
return $result;
}
View
5 lib/db/postgres7.php
@@ -1203,11 +1203,6 @@ function main_upgrade($oldversion=0) {
modify_database('','ALTER TABLE prefix_user_teachers ALTER enrol SET NOT NULL');
}
- if ($oldversion < 2005103100) { // Repair enrol field in user_students/user_teacher table
- execute_sql("UPDATE {$CFG->prefix}user_students SET enrol='manual' WHERE enrol='' OR enrol='internal'");
- execute_sql("UPDATE {$CFG->prefix}user_teachers SET enrol='manual' WHERE enrol=''");
- }
-
return $result;
}
View
2 version.php
@@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2005103100; // YYYYMMDD = Moodle 1.5 Date
+ $version = 2005060223; // YYYYMMDD = Moodle 1.5 Date
// X = Moodle 1.5 Point release (0,1,2...)
// Y = Interim incrementer

0 comments on commit 46dc437

Please sign in to comment.