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

View File

@ -1,32 +1,34 @@
<?php
/**
* eGroupWare - Setup
* http://www.egroupware.org
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package notifications
* @subpackage setup
* @version $Id$
*/
/**
* eGroupWare - Setup
* http://www.egroupware.org
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package notifications
* @subpackage setup
* @version $Id$
*/
function notifications_upgrade0_5()
{
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_notificationpopup','account_id',array(
'type' => 'int',
'precision' => '20',
'nullable' => False
));
$test[] = '0.5';
function notifications_upgrade0_5()
{
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_notificationpopup','account_id',array(
'type' => 'int',
'precision' => '20',
'nullable' => False
));
return $GLOBALS['setup_info']['notifications']['currentver'] = '0.6';
}
return $GLOBALS['setup_info']['notifications']['currentver'] = '0.6';
}
$test[] = '0.6';
function notifications_upgrade0_6()
{
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.4';
}
?>
function notifications_upgrade0_6()
{
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.4';
}
function notifications_upgrade1_4()
{
return $GLOBALS['setup_info']['notifications']['currentver'] = '1.6';
}