mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
"- dont accept less then one account-id plus replacement
- cat_owner -1 means global cat, not cat of group 1"
This commit is contained in:
parent
664f222868
commit
c128b0a017
@ -166,7 +166,7 @@ function do_change_account_id($args)
|
||||
'egw_applications' => false,
|
||||
'egw_app_sessions' => 'loginid',
|
||||
'egw_async' => 'async_account_id',
|
||||
'egw_categories' => 'cat_owner',
|
||||
'egw_categories' => array(array('cat_owner','cat_owner > 0')), // -1 are global cats, not cats from group 1!
|
||||
'egw_config' => false,
|
||||
'egw_history_log' => 'history_owner',
|
||||
'egw_hooks' => false,
|
||||
@ -286,6 +286,8 @@ function do_change_account_id($args)
|
||||
// VFS2 ToDo!!!
|
||||
);
|
||||
|
||||
if (count($args) < 4) usage(); // 4 means at least user,pw,from1,to1
|
||||
|
||||
$ids2change = array();
|
||||
for($n = 2; $n < count($args); $n += 2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user