Reverted my changes to ddlib

This commit is contained in:
moodler 2006-10-04 15:35:27 +00:00
parent a9b1f143d2
commit acc26e71bd

View File

@ -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'));
}
}