MDL-11561 admin tree improvements and bugfixing; backported from HEAD

This commit is contained in:
skodak
2007-12-19 17:38:37 +00:00
parent d7381358f8
commit 40f43aa1fc
110 changed files with 4335 additions and 4755 deletions
+2 -3
View File
@@ -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 {