mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed omgs change (zt --> zh-tw) from nov. 2005 for existing installs
This commit is contained in:
parent
05e1b2d1e7
commit
5b27ac85ce
@ -14,7 +14,7 @@
|
|||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
||||||
$setup_info['phpgwapi']['version'] = '1.3.001';
|
$setup_info['phpgwapi']['version'] = '1.3.002';
|
||||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.28';
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.28';
|
||||||
$setup_info['phpgwapi']['enable'] = 3;
|
$setup_info['phpgwapi']['enable'] = 3;
|
||||||
$setup_info['phpgwapi']['app_order'] = 1;
|
$setup_info['phpgwapi']['app_order'] = 1;
|
||||||
|
@ -24,4 +24,21 @@
|
|||||||
{
|
{
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.001';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.001';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '1.2.008';
|
||||||
|
function phpgwapi_upgrade1_2_008()
|
||||||
|
{
|
||||||
|
// fixing the lang change from zt -> zh-tw for existing installations
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.002';
|
||||||
|
}
|
||||||
|
|
||||||
|
// updates in HEAD / 1.3
|
||||||
|
$test[] = '1.3.001';
|
||||||
|
function phpgwapi_upgrade1_3_001()
|
||||||
|
{
|
||||||
|
// fixing the lang change from zt -> zh-tw for existing installations
|
||||||
|
$GLOBALS['egw_setup']->db->update('egw_languages',array('lang_id' => 'zh-tw'),array('lang_id' => 'zt'),__LINE__,__FILE__);
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.002';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user