mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
reload framework when theme changes (eg. to mobile)
This commit is contained in:
parent
f17042b34d
commit
2a426ca420
@ -90,7 +90,7 @@ class preferences_settings
|
|||||||
$GLOBALS['egw']->preferences->read_repository();
|
$GLOBALS['egw']->preferences->read_repository();
|
||||||
}
|
}
|
||||||
// name of common preferences which require reload of framework, if there values change
|
// name of common preferences which require reload of framework, if there values change
|
||||||
$require_reload = array('template_set', 'lang');
|
$require_reload = array('template_set', 'theme', 'lang');
|
||||||
$old_values = array_intersect_key($GLOBALS['egw_info']['user']['preferences']['common'], array_flip($require_reload));
|
$old_values = array_intersect_key($GLOBALS['egw_info']['user']['preferences']['common'], array_flip($require_reload));
|
||||||
|
|
||||||
$attribute = $type == 'group' ? 'user' : $type;
|
$attribute = $type == 'group' ? 'user' : $type;
|
||||||
|
Loading…
Reference in New Issue
Block a user