mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +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')
|
'text' => lang('Text only')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!$hook_data['setup'])
|
||||||
|
{
|
||||||
$langs = translation::get_installed_langs();
|
$langs = translation::get_installed_langs();
|
||||||
|
}
|
||||||
$tzs = egw_time::getTimezones();
|
$tzs = egw_time::getTimezones();
|
||||||
|
|
||||||
$date_formats = array(
|
$date_formats = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user