forked from extern/egroupware
updating the missed sequenzes (postgres) and pushing all versions to 1.0.0
This commit is contained in:
parent
5188c0a6a3
commit
2ba2d8aca1
@ -12,7 +12,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
$setup_info['calendar']['name'] = 'calendar';
|
||||
$setup_info['calendar']['version'] = '0.9.16.007';
|
||||
$setup_info['calendar']['version'] = '1.0.0';
|
||||
$setup_info['calendar']['app_order'] = 3;
|
||||
$setup_info['calendar']['enable'] = 1;
|
||||
|
||||
@ -52,5 +52,5 @@
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['calendar']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('0.9.14','0.9.15','0.9.16','1.0.00')
|
||||
'versions' => Array('0.9.14','0.9.15','0.9.16','1.0.0')
|
||||
);
|
||||
|
@ -1048,7 +1048,8 @@
|
||||
($config['mail_suffix'] ? $config['mail_suffix'] : 'local'))).
|
||||
" WHERE uid LIKE '-@%' OR uid=''");
|
||||
|
||||
$GLOBALS['setup_info']['calendar']['currentver'] = '0.9.16.007';
|
||||
// we dont need to do update 0.9.16.007, as UpdateSequenze is called now by RefreshTable
|
||||
$GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0';
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'];
|
||||
}
|
||||
|
||||
@ -1059,4 +1060,15 @@
|
||||
// re-run the update as very old entries only have an empty uid
|
||||
return calendar_upgrade0_9_16_005();
|
||||
}
|
||||
|
||||
|
||||
$test[] = '0.9.16.007';
|
||||
function calendar_upgrade0_9_16_007()
|
||||
{
|
||||
// update the sequenzes for refreshed tables (postgres only)
|
||||
$GLOBALS['phpgw_setup']->oProc->UpdateSequence('phpgw_cal_holidays','hol_id');
|
||||
|
||||
$GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0';
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'];
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user