2006-11-16 12:05:42 +01:00
|
|
|
<?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 importexport
|
|
|
|
* @subpackage setup
|
|
|
|
* @version $Id: class.db_tools.inc.php 21408 2006-04-21 10:31:06Z nelius_weiss $
|
|
|
|
*/
|
|
|
|
|
|
|
|
$test[] = '0.002';
|
|
|
|
function importexport_upgrade0_002()
|
|
|
|
{
|
|
|
|
$GLOBALS['egw_setup']->oProc->AddColumn('egw_importexport_definitions','description',array(
|
|
|
|
'type' => 'varchar',
|
|
|
|
'precision' => '255'
|
|
|
|
));
|
|
|
|
|
|
|
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '0.003';
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$test[] = '0.003';
|
|
|
|
function importexport_upgrade0_003()
|
|
|
|
{
|
2007-04-30 11:10:36 +02:00
|
|
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.4';
|
2006-11-16 12:05:42 +01:00
|
|
|
}
|
2010-03-22 16:09:26 +01:00
|
|
|
|
|
|
|
$test[] = '1.4';
|
|
|
|
function importexport_upgrade1_4()
|
|
|
|
{
|
|
|
|
$sql = 'UPDATE egw_importexport_definitions SET plugin = CONCAT(application, "_", plugin)';
|
|
|
|
|
|
|
|
$GLOBALS['egw_setup']->db->query($sql, __LINE__, __FILE__);
|
|
|
|
return $GLOBALS['setup_info']['importexport']['currentver'] = '1.7.001';
|
|
|
|
}
|
2006-11-16 12:05:42 +01:00
|
|
|
?>
|