Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
904e91bb
Commit
904e91bb
authored
Oct 27, 2015
by
Côme Chilliet
Browse files
Fixes #4200 Fixed problems related to configuration edition
Conflicts: include/class_pluglist.inc
parent
f4e3cf3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/config/tabs_configInLdap.inc
View file @
904e91bb
...
...
@@ -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'
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment