mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
9772a1b82a
Yuhuuuu :-)
50 lines
2.0 KiB
PHP
50 lines
2.0 KiB
PHP
<?php
|
|
/**************************************************************************\
|
|
* phpGroupWare - Setup *
|
|
* http://www.phpgroupware.org *
|
|
* -------------------------------------------- *
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
* under the terms of the GNU General Public License as published by the *
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
* option) any later version. *
|
|
\**************************************************************************/
|
|
|
|
// $Id$
|
|
// $Source$
|
|
|
|
/* Include older phpGroupWare update support */
|
|
include('tables_update_0_9_9.inc.php');
|
|
include('tables_update_0_9_10.inc.php');
|
|
include('tables_update_0_9_12.inc.php');
|
|
include('tables_update_0_9_14.inc.php');
|
|
|
|
// updates from the stable 1.0.0 branch
|
|
$test[] = '1.0.0.001';
|
|
function phpgwapi_upgrade1_0_0_001()
|
|
{
|
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_async','id','async_id');
|
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_async','next','async_next');
|
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_async','times','async_times');
|
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_async','method','async_method');
|
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_async','data','async_data');
|
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_async','account_id','async_account_id');
|
|
|
|
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.0.1.001';
|
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
|
}
|
|
|
|
$test[] = '1.0.0.002';
|
|
function phpgwapi_upgrade1_0_0_002()
|
|
{
|
|
// identical to 1.0.0.001, only created to get a new version of the packages
|
|
return phpgwapi_upgrade1_0_0_001();
|
|
}
|
|
|
|
$test[] = '1.0.0.003';
|
|
function phpgwapi_upgrade1_0_0_003()
|
|
{
|
|
// identical to 1.0.0.001, only created to get a new version of the final 1.0 packages
|
|
return phpgwapi_upgrade1_0_0_001();
|
|
}
|
|
?>
|