From: moodler Date: Wed, 4 Oct 2006 15:35:27 +0000 (+0000) Subject: Reverted my changes to ddlib X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=acc26e71bd12df2335c1bcf5b4641a03ced72aa4;p=moodle.git Reverted my changes to ddlib --- diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index ffa6cc3eec..7e152f6874 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -26,10 +26,10 @@ function xmldb_main_upgrade($oldversion=0) { if ($oldversion < 2006100401) { /// Only for those tracking Moodle 1.7 dev, others will have these dropped in moodle_install_roles() if (!empty($CFG->rolesactive)) { - drop_table('user_students'); - drop_table('user_teachers'); - drop_table('user_coursecreators'); - drop_table('user_admins'); + drop_table(new XMLDBTable('user_students')); + drop_table(new XMLDBTable('user_teachers')); + drop_table(new XMLDBTable('user_coursecreators')); + drop_table(new XMLDBTable('user_admins')); } }