forked from extern/egroupware
version to 1.6 incl. API dependences
This commit is contained in:
parent
06f6d3e9b9
commit
1da86275f9
@ -10,7 +10,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['addressbook']['name'] = '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']['enable'] = 1;
|
||||
|
||||
@ -45,11 +45,11 @@ $setup_info['addressbook']['hooks']['group_acl'] = 'addressbook_hooks::group_acl
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['addressbook']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
'versions' => Array('1.5','1.6','1.7')
|
||||
);
|
||||
$setup_info['addressbook']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.3','1.4','1.5')
|
||||
'versions' => Array('1.5','1.6','1.7')
|
||||
);
|
||||
|
||||
// installation checks for addresbook
|
||||
|
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
$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']['tables'] = array('egw_admin_queue','egw_admin_remote');
|
||||
$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 */
|
||||
$setup_info['admin']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('1.4','1.5')
|
||||
'versions' => Array('1.5','1.6','1.7')
|
||||
);
|
||||
$setup_info['admin']['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.4','1.5')
|
||||
'versions' => Array('1.5','1.6','1.7')
|
||||
);
|
||||
|
@ -12,7 +12,7 @@
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
$phpgw_baseline = array(
|
||||
$phpgw_baseline = array(
|
||||
'egw_admin_queue' => array(
|
||||
'fd' => array(
|
||||
'cmd_id' => array('type' => 'auto'),
|
||||
@ -52,4 +52,4 @@
|
||||
'ix' => array(),
|
||||
'uc' => array('remote_name')
|
||||
)
|
||||
);
|
||||
);
|
||||
|
@ -17,7 +17,7 @@ function admin_upgrade1_2()
|
||||
return $GLOBALS['setup_info']['admin']['currentver'] = '1.4';
|
||||
}
|
||||
|
||||
$test[] = '1.4';
|
||||
|
||||
function admin_upgrade1_4()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->CreateTable('egw_admin_queue',array(
|
||||
@ -48,9 +48,9 @@ function admin_upgrade1_4()
|
||||
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(
|
||||
'fd' => array(
|
||||
'remote_id' => array('type' => 'auto'),
|
||||
@ -66,17 +66,21 @@ function admin_upgrade1_4()
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['admin']['currentver'] = '1.5.002';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$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(
|
||||
'type' => 'int',
|
||||
'precision' => '4'
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['admin']['currentver'] = '1.5.003';
|
||||
}
|
||||
?>
|
||||
}
|
||||
|
||||
|
||||
function admin_upgrade1_5_003()
|
||||
{
|
||||
return $GLOBALS['setup_info']['admin']['currentver'] = '1.6';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user