mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
"not calling translation::get_installed_langs() while in setup"
This commit is contained in:
parent
20e655c466
commit
89a81249cc
@ -46,8 +46,10 @@ class preferences_hooks
|
||||
'text' => lang('Text only')
|
||||
);
|
||||
|
||||
$langs = translation::get_installed_langs();
|
||||
|
||||
if (!$hook_data['setup'])
|
||||
{
|
||||
$langs = translation::get_installed_langs();
|
||||
}
|
||||
$tzs = egw_time::getTimezones();
|
||||
|
||||
$date_formats = array(
|
||||
|
Loading…
Reference in New Issue
Block a user