Commit 904e91bb authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4200 Fixed problems related to configuration edition

Conflicts:
	include/class_pluglist.inc
parent f4e3cf3d
......@@ -24,18 +24,11 @@ class tabs_configInLdap extends simpleTabs_noSpecial
{
global $config;
parent::save();
/* backup parts which are read from pluglist */
$saved_datas = array('OBJECTS', 'SECTIONS', 'CATEGORIES', 'TABS', 'MENU');
$save = array();
foreach ($saved_datas as $saved_data) {
$save[$saved_data] = $config->data[$saved_data];
}
/* check_and_reload */
$config->check_and_reload(TRUE);
/* restore backup */
foreach ($saved_datas as $saved_data) {
$config->data[$saved_data] = $save[$saved_data];
}
/* reload plist as well as some plInfo might use $config or get_ou */
session::global_un_set('plist');
load_plist();
session::un_set('passwordMethod::get_available_methods');
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment