"not calling translation::get_installed_langs() while in setup"

This commit is contained in:
Ralf Becker 2009-10-19 18:17:59 +00:00
parent 20e655c466
commit 89a81249cc

View File

@ -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(