MDL-11561 admin tree improvements and bugfixing; backported from HEAD
This commit is contained in:
@@ -141,9 +141,8 @@
|
||||
}
|
||||
if (!empty($USER->newadminuser)) {
|
||||
unset($USER->newadminuser);
|
||||
// try to apply defaults again - some of them might depend on admin user info
|
||||
$adminroot = admin_get_root();
|
||||
apply_default_settings($adminroot, false);
|
||||
// apply defaults again - some of them might depend on admin user info, backup, roles, etc.
|
||||
admin_apply_default_settings(NULL , false);
|
||||
// redirect to admin/ to continue with installation
|
||||
redirect("$CFG->wwwroot/$CFG->admin/");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user