MDL-48823 admin: Just one admin tree reload after settings changes

This commit is contained in:
David Monllao
2015-01-21 10:42:09 +08:00
parent 146c80d338
commit 90ef484cec
4 changed files with 1 additions and 5 deletions
-1
View File
@@ -48,7 +48,6 @@ if ($data = data_submitted() and confirm_sesskey()) {
$errormsg = get_string('errorwithsettings', 'admin');
$firsterror = reset($adminroot->errors);
}
$adminroot = admin_get_root(true); //reload tree
$settingspage = $adminroot->locate($section, true);
}