forked from extern/egroupware
- fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook)
- invalidate the cache of the accounts-class if contact-data of an account get changed
This commit is contained in:
parent
185b151ae9
commit
5d30855ed1
@ -208,7 +208,7 @@ class accounts_backend
|
|||||||
'id' => $data['person_id'],
|
'id' => $data['person_id'],
|
||||||
'owner' => 0,
|
'owner' => 0,
|
||||||
);
|
);
|
||||||
$GLOBALS['egw']->contacts->save($contact);
|
$GLOBALS['egw']->contacts->save($contact,true); // true = ignore addressbook acl
|
||||||
|
|
||||||
return $data['account_id'];
|
return $data['account_id'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user