mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Reverted my changes to ddlib
This commit is contained in:
parent
a9b1f143d2
commit
acc26e71bd
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user