mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-06 14:09:52 +01:00
* Admin/Setup: fixed custom translations got lost during update
This commit is contained in:
parent
9caec6fffb
commit
d7a7d105fa
@ -669,7 +669,8 @@ class translation
|
|||||||
if ($upgrademethod == 'dumpold')
|
if ($upgrademethod == 'dumpold')
|
||||||
{
|
{
|
||||||
// dont delete the custom main- & loginscreen messages every time
|
// 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';
|
//echo '<br>Test: dumpold';
|
||||||
$GLOBALS['egw_info']['server']['lang_ctimes'] = array();
|
$GLOBALS['egw_info']['server']['lang_ctimes'] = array();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user