forked from extern/egroupware
* ImportExport: Creation of new filter column before we update definitions
This commit is contained in:
parent
3dd6e5f8a9
commit
52bbf929fa
@ -63,6 +63,10 @@ function importexport_upgrade1_9_001()
|
|||||||
|
|
||||||
function importexport_upgrade1_9_002()
|
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 = '.
|
$sql = 'UPDATE egw_importexport_definitions SET allowed_users = '.
|
||||||
$GLOBALS['egw_setup']->db->concat("','", 'allowed_users', "','");
|
$GLOBALS['egw_setup']->db->concat("','", 'allowed_users', "','");
|
||||||
$GLOBALS['egw_setup']->oProc->query($sql, __LINE__, __FILE__);
|
$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);
|
$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()
|
function importexport_upgrade1_9_003()
|
||||||
|
Loading…
Reference in New Issue
Block a user