diff --git a/infolog/setup/setup.inc.php b/infolog/setup/setup.inc.php index be220df196..dac4d7f94d 100755 --- a/infolog/setup/setup.inc.php +++ b/infolog/setup/setup.inc.php @@ -12,7 +12,7 @@ /* $Id$ */ $setup_info['infolog']['name'] = 'infolog'; - $setup_info['infolog']['version'] = '1.0.1.002'; + $setup_info['infolog']['version'] = '1.2'; $setup_info['infolog']['app_order'] = 5; $setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra'); $setup_info['infolog']['enable'] = 1; @@ -63,11 +63,11 @@ /* Dependencies for this app to work */ $setup_info['infolog']['depends'][] = array( 'appname' => 'phpgwapi', - 'versions' => Array('1.0.1') + 'versions' => Array('1.0.1','1.2') ); $setup_info['infolog']['depends'][] = array( 'appname' => 'etemplate', - 'versions' => Array('1.0.0','1.0.1') + 'versions' => Array('1.0.0','1.0.1','1.2') ); diff --git a/infolog/setup/tables_update.inc.php b/infolog/setup/tables_update.inc.php index db002a2bcd..8eb1368850 100644 --- a/infolog/setup/tables_update.inc.php +++ b/infolog/setup/tables_update.inc.php @@ -459,4 +459,12 @@ $GLOBALS['setup_info']['infolog']['currentver'] = '1.0.1.002'; return $GLOBALS['setup_info']['infolog']['currentver']; } + + + $test[] = '1.0.1.002'; + function infolog_upgrade1_0_1_002() + { + $GLOBALS['setup_info']['infolog']['currentver'] = '1.2'; + return $GLOBALS['setup_info']['infolog']['currentver']; + } ?>