From 52bbf929fa52d433ed72ea75ef7f7e3838f5879c Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 28 Apr 2014 13:45:15 +0000 Subject: [PATCH] * ImportExport: Creation of new filter column before we update definitions --- importexport/setup/tables_update.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/importexport/setup/tables_update.inc.php b/importexport/setup/tables_update.inc.php index e58cbd762b..55564a09f0 100755 --- a/importexport/setup/tables_update.inc.php +++ b/importexport/setup/tables_update.inc.php @@ -63,6 +63,10 @@ function importexport_upgrade1_9_001() function importexport_upgrade1_9_002() { + $GLOBALS['egw_setup']->oProc->AddColumn('egw_importexport_definitions','filter',array( + 'type' => 'longtext' + )); + $sql = 'UPDATE egw_importexport_definitions SET allowed_users = '. $GLOBALS['egw_setup']->db->concat("','", 'allowed_users', "','"); $GLOBALS['egw_setup']->oProc->query($sql, __LINE__, __FILE__); @@ -106,7 +110,7 @@ function importexport_upgrade1_9_002() $GLOBALS['egw_setup']->add_acl('importexport','run',$account_id); } - return $GLOBALS['setup_info']['importexport']['currentver'] = '1.9.003'; + return $GLOBALS['setup_info']['importexport']['currentver'] = '1.9.004'; } function importexport_upgrade1_9_003()