From 83ea392ee14631e44b047a46b211b1f4f7c11881 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 6 Oct 2006 06:47:12 +0000 Subject: [PATCH] Drop the user_xxx tables after Roles install --- lib/accesslib.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 262e407583f..cc30162655f 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -1088,7 +1088,10 @@ function moodle_install_roles() { /// Delete the old user tables when we are done - /// XXX TODO + drop_table(new XMLDBTable('user_students')); + drop_table(new XMLDBTable('user_teachers')); + drop_table(new XMLDBTable('user_coursecreators')); + drop_table(new XMLDBTable('user_admins')); }