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