version to 1.6 incl. API dependences

This commit is contained in:
Ralf Becker 2008-10-07 07:21:23 +00:00
parent 61a23ba829
commit 4222f03ac5
2 changed files with 36 additions and 34 deletions

View File

@ -15,15 +15,15 @@ if (!defined('NOTIFICATION_APP'))
} }
$setup_info[NOTIFICATION_APP]['name'] = NOTIFICATION_APP; $setup_info[NOTIFICATION_APP]['name'] = NOTIFICATION_APP;
$setup_info[NOTIFICATION_APP]['version'] = '1.4'; $setup_info[NOTIFICATION_APP]['version'] = '1.6';
$setup_info[NOTIFICATION_APP]['app_order'] = 1; $setup_info[NOTIFICATION_APP]['app_order'] = 1;
$setup_info[NOTIFICATION_APP]['tables'] = array('egw_notificationpopup'); $setup_info[NOTIFICATION_APP]['tables'] = array('egw_notificationpopup');
$setup_info[NOTIFICATION_APP]['enable'] = 2; $setup_info[NOTIFICATION_APP]['enable'] = 2;
$setup_info[NOTIFICATION_APP]['author'] = $setup_info[NOTIFICATION_APP]['author'] = 'Cornelius Weiss';
$setup_info[NOTIFICATION_APP]['maintainer'] = array( $setup_info[NOTIFICATION_APP]['maintainer'] = array(
'name' => 'Cornelius Weiss', 'name' => 'eGroupware coreteam',
'email' => 'nelius@cwtech.de' 'email' => 'egroupware-developers@lists.sf.net'
); );
$setup_info[NOTIFICATION_APP]['license'] = 'GPL'; $setup_info[NOTIFICATION_APP]['license'] = 'GPL';
$setup_info[NOTIFICATION_APP]['description'] = $setup_info[NOTIFICATION_APP]['description'] =
@ -42,10 +42,10 @@ $setup_info[NOTIFICATION_APP]['hooks'][] = 'admin';
/* Dependencies for this app to work */ /* Dependencies for this app to work */
$setup_info[NOTIFICATION_APP]['depends'][] = array( $setup_info[NOTIFICATION_APP]['depends'][] = array(
'appname' => 'phpgwapi', 'appname' => 'phpgwapi',
'versions' => Array('1.3','1.4','1.5') 'versions' => Array('1.5','1.6','1.7')
); );
$setup_info[NOTIFICATION_APP]['depends'][] = array( $setup_info[NOTIFICATION_APP]['depends'][] = array(
'appname' => 'etemplate', 'appname' => 'etemplate',
'versions' => Array('1.3','1.4','1.5') 'versions' => Array('1.5','1.6','1.7')
); );

View File

@ -1,5 +1,4 @@
<?php <?php
/** /**
* eGroupWare - Setup * eGroupWare - Setup
* http://www.egroupware.org * http://www.egroupware.org
@ -11,7 +10,6 @@
* @version $Id$ * @version $Id$
*/ */
$test[] = '0.5';
function notifications_upgrade0_5() function notifications_upgrade0_5()
{ {
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_notificationpopup','account_id',array( $GLOBALS['egw_setup']->oProc->AlterColumn('egw_notificationpopup','account_id',array(
@ -24,9 +22,13 @@
} }
$test[] = '0.6';
function notifications_upgrade0_6() function notifications_upgrade0_6()
{ {
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.4'; return $GLOBALS['setup_info']['notifications']['currentver'] = '1.4';
} }
?>
function notifications_upgrade1_4()
{
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.6';
}