mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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_applications' => false,
|
||||||
'egw_app_sessions' => 'loginid',
|
'egw_app_sessions' => 'loginid',
|
||||||
'egw_async' => 'async_account_id',
|
'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_config' => false,
|
||||||
'egw_history_log' => 'history_owner',
|
'egw_history_log' => 'history_owner',
|
||||||
'egw_hooks' => false,
|
'egw_hooks' => false,
|
||||||
@ -286,6 +286,8 @@ function do_change_account_id($args)
|
|||||||
// VFS2 ToDo!!!
|
// VFS2 ToDo!!!
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (count($args) < 4) usage(); // 4 means at least user,pw,from1,to1
|
||||||
|
|
||||||
$ids2change = array();
|
$ids2change = array();
|
||||||
for($n = 2; $n < count($args); $n += 2)
|
for($n = 2; $n < count($args); $n += 2)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user