1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-01-01 19:49:21 +01:00

* Admin/Setup: fixed custom translations got lost during update

This commit is contained in:
Ralf Becker 2012-02-27 08:02:28 +00:00
parent 9caec6fffb
commit d7a7d105fa

View File

@ -669,7 +669,8 @@ class translation
if ($upgrademethod == 'dumpold')
{
// dont delete the custom main- & loginscreen messages every time
self::$db->delete(self::LANG_TABLE,"app_name!='mainscreen' AND app_name!='loginscreen'",__LINE__,__FILE__);
self::$db->delete(self::LANG_TABLE,self::$db->expression(self::LANG_TABLE,
'NOT ',array('app_name'=>self::$instance_specific_translations)),__LINE__,__FILE__);
//echo '<br>Test: dumpold';
$GLOBALS['egw_info']['server']['lang_ctimes'] = array();
}