- 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:
Ralf Becker 2006-06-21 23:13:37 +00:00
parent 185b151ae9
commit 5d30855ed1

View File

@ -208,7 +208,7 @@ class accounts_backend
'id' => $data['person_id'],
'owner' => 0,
);
$GLOBALS['egw']->contacts->save($contact);
$GLOBALS['egw']->contacts->save($contact,true); // true = ignore addressbook acl
return $data['account_id'];
}