mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-30 02:29:36 +01:00
* CardDAV/Addressbook/Preferences: accounts, primary group, all, ... were not selectable in personal preferences
This commit is contained in:
parent
f74bd300f4
commit
17249fc30e
@ -1083,7 +1083,7 @@ class addressbook_groupdav extends groupdav_handler
|
|||||||
{
|
{
|
||||||
$user = $hook_data['account_id'];
|
$user = $hook_data['account_id'];
|
||||||
$addressbook_bo = new addressbook_bo();
|
$addressbook_bo = new addressbook_bo();
|
||||||
$addressbooks = $addressbook_bo->get_addressbooks(EGW_ACL_READ, null, $user);
|
$addressbooks += $addressbook_bo->get_addressbooks(EGW_ACL_READ, null, $user);
|
||||||
if ($user > 0) unset($addressbooks[$user]); // allways synced
|
if ($user > 0) unset($addressbooks[$user]); // allways synced
|
||||||
unset($addressbooks[$user.'p']);// ignore (optional) private addressbook for now
|
unset($addressbooks[$user.'p']);// ignore (optional) private addressbook for now
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user