mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* CardDAV/Addressbook: add "None" to forced preferences of addressbooks to sync in addition to personal one
This commit is contained in:
parent
b2c275436a
commit
e0e4dfc55a
@ -1085,6 +1085,12 @@ class addressbook_groupdav extends groupdav_handler
|
|||||||
'D' => lang('Distribution lists as groups')
|
'D' => lang('Distribution lists as groups')
|
||||||
) + $addressbooks;
|
) + $addressbooks;
|
||||||
|
|
||||||
|
// allow to force no other addressbooks
|
||||||
|
if ($GLOBALS['type'] === 'forced')
|
||||||
|
{
|
||||||
|
$addressbooks['N'] = lang('None');
|
||||||
|
}
|
||||||
|
|
||||||
// rewriting owner=0 to 'U', as 0 get's always selected by prefs
|
// rewriting owner=0 to 'U', as 0 get's always selected by prefs
|
||||||
if (!isset($addressbooks[0]))
|
if (!isset($addressbooks[0]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user