version to 1.6 incl. API dependences

This commit is contained in:
Ralf Becker 2008-10-07 06:59:07 +00:00
parent 06f6d3e9b9
commit 1da86275f9
4 changed files with 81 additions and 77 deletions

View File

@ -10,7 +10,7 @@
/* Basic information about this app */ /* Basic information about this app */
$setup_info['addressbook']['name'] = 'addressbook'; $setup_info['addressbook']['name'] = 'addressbook';
$setup_info['addressbook']['title'] = 'Addressbook'; $setup_info['addressbook']['title'] = 'Addressbook';
$setup_info['addressbook']['version'] = '1.5.001'; $setup_info['addressbook']['version'] = '1.6';
$setup_info['addressbook']['app_order'] = 4; $setup_info['addressbook']['app_order'] = 4;
$setup_info['addressbook']['enable'] = 1; $setup_info['addressbook']['enable'] = 1;
@ -45,11 +45,11 @@ $setup_info['addressbook']['hooks']['group_acl'] = 'addressbook_hooks::group_acl
/* Dependencies for this app to work */ /* Dependencies for this app to work */
$setup_info['addressbook']['depends'][] = array( $setup_info['addressbook']['depends'][] = array(
'appname' => 'phpgwapi', 'appname' => 'phpgwapi',
'versions' => Array('1.3','1.4','1.5') 'versions' => Array('1.5','1.6','1.7')
); );
$setup_info['addressbook']['depends'][] = array( $setup_info['addressbook']['depends'][] = array(
'appname' => 'etemplate', 'appname' => 'etemplate',
'versions' => Array('1.3','1.4','1.5') 'versions' => Array('1.5','1.6','1.7')
); );
// installation checks for addresbook // installation checks for addresbook

View File

@ -10,7 +10,7 @@
*/ */
$setup_info['admin']['name'] = 'admin'; $setup_info['admin']['name'] = 'admin';
$setup_info['admin']['version'] = '1.5.003'; $setup_info['admin']['version'] = '1.6';
$setup_info['admin']['app_order'] = 1; $setup_info['admin']['app_order'] = 1;
$setup_info['admin']['tables'] = array('egw_admin_queue','egw_admin_remote'); $setup_info['admin']['tables'] = array('egw_admin_queue','egw_admin_remote');
$setup_info['admin']['enable'] = 1; $setup_info['admin']['enable'] = 1;
@ -49,9 +49,9 @@ $setup_info['admin']['hooks']['sidebox_menu'] =$setup_info['admin']['name'].'.ad
/* Dependencies for this app to work */ /* Dependencies for this app to work */
$setup_info['admin']['depends'][] = array( $setup_info['admin']['depends'][] = array(
'appname' => 'phpgwapi', 'appname' => 'phpgwapi',
'versions' => Array('1.4','1.5') 'versions' => Array('1.5','1.6','1.7')
); );
$setup_info['admin']['depends'][] = array( $setup_info['admin']['depends'][] = array(
'appname' => 'etemplate', 'appname' => 'etemplate',
'versions' => Array('1.4','1.5') 'versions' => Array('1.5','1.6','1.7')
); );

View File

@ -17,7 +17,7 @@ function admin_upgrade1_2()
return $GLOBALS['setup_info']['admin']['currentver'] = '1.4'; return $GLOBALS['setup_info']['admin']['currentver'] = '1.4';
} }
$test[] = '1.4';
function admin_upgrade1_4() function admin_upgrade1_4()
{ {
$GLOBALS['egw_setup']->oProc->CreateTable('egw_admin_queue',array( $GLOBALS['egw_setup']->oProc->CreateTable('egw_admin_queue',array(
@ -48,7 +48,7 @@ function admin_upgrade1_4()
return $GLOBALS['setup_info']['admin']['currentver'] = '1.5.001'; return $GLOBALS['setup_info']['admin']['currentver'] = '1.5.001';
} }
$test[] = '1.5.001';
function admin_upgrade1_5_001() function admin_upgrade1_5_001()
{ {
$GLOBALS['egw_setup']->oProc->CreateTable('egw_admin_remote',array( $GLOBALS['egw_setup']->oProc->CreateTable('egw_admin_remote',array(
@ -69,7 +69,6 @@ function admin_upgrade1_4()
} }
$test[] = '1.5.002';
function admin_upgrade1_5_002() function admin_upgrade1_5_002()
{ {
$GLOBALS['egw_setup']->oProc->AddColumn('egw_admin_queue','remote_id',array( $GLOBALS['egw_setup']->oProc->AddColumn('egw_admin_queue','remote_id',array(
@ -79,4 +78,9 @@ function admin_upgrade1_4()
return $GLOBALS['setup_info']['admin']['currentver'] = '1.5.003'; return $GLOBALS['setup_info']['admin']['currentver'] = '1.5.003';
} }
?>
function admin_upgrade1_5_003()
{
return $GLOBALS['setup_info']['admin']['currentver'] = '1.6';
}