mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Don't scan for categories/groups in shared addressbooks/calendars.
This commit is contained in:
parent
9505b23ab7
commit
6785e2f2c1
@ -276,7 +276,9 @@ class OC_Contacts_App {
|
|||||||
if(count($vcaddressbooks) > 0) {
|
if(count($vcaddressbooks) > 0) {
|
||||||
$vcaddressbookids = array();
|
$vcaddressbookids = array();
|
||||||
foreach($vcaddressbooks as $vcaddressbook) {
|
foreach($vcaddressbooks as $vcaddressbook) {
|
||||||
$vcaddressbookids[] = $vcaddressbook['id'];
|
if($vcaddressbook['userid'] === OCP\User::getUser()) {
|
||||||
|
$vcaddressbookids[] = $vcaddressbook['id'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$start = 0;
|
$start = 0;
|
||||||
$batchsize = 10;
|
$batchsize = 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user