From: moodler Date: Wed, 4 Oct 2006 09:47:05 +0000 (+0000) Subject: Bye-bye to old database upgrade files and hellow to upgrade.php! X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4e423cbf5d7925681f787ea7f12a80201a003383;p=moodle.git Bye-bye to old database upgrade files and hellow to upgrade.php! First order of business: drop all the extraneous user_xxx tables. --- diff --git a/lib/db/mysql.php b/lib/db/mysql.php index 6c5e79338e..841b4db07a 100644 --- a/lib/db/mysql.php +++ b/lib/db/mysql.php @@ -1,19 +1,9 @@ rolesactive)) { + drop_table('user_students'); + drop_table('user_teachers'); + drop_table('user_coursecreators'); + drop_table('user_admins'); + } + } + + return $result; +} + +?> diff --git a/version.php b/version.php index f37f04ae23..ca1728fa87 100644 --- a/version.php +++ b/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 = 2006092801; // YYYYMMDD = date + $version = 2006100401; // YYYYMMDD = date // XY = increments within a single day $release = '1.7 dev'; // Human-friendly version name