Permalink
Browse files

Reverting commits just made. This should be in MOODLE_16_MULTIENROL

  • Loading branch information...
1 parent 5e52f1c commit 7fa92da9fa1f3314dc0ff2ef8fd622cf59efb65d 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
@@ -1653,11 +1653,6 @@ function main_upgrade($oldversion=0) {
table_column('course_request','','password','varchar',50);
}
- 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
@@ -1395,11 +1395,6 @@ function main_upgrade($oldversion=0) {
table_column('course_request','','password','text');
}
- 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
@@ -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 = date
+ $version = 2005101200; // YYYYMMDD = date
// XY = increments within a single day
$release = '1.6 development'; // Human-friendly version name

0 comments on commit 7fa92da

Please sign in to comment.