1
0
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:
Thomas Tanghus 2012-10-03 22:03:29 +02:00
parent 9505b23ab7
commit 6785e2f2c1

View File

@ -276,8 +276,10 @@ class OC_Contacts_App {
if(count($vcaddressbooks) > 0) {
$vcaddressbookids = array();
foreach($vcaddressbooks as $vcaddressbook) {
if($vcaddressbook['userid'] === OCP\User::getUser()) {
$vcaddressbookids[] = $vcaddressbook['id'];
}
}
$start = 0;
$batchsize = 10;
$categories = new OC_VCategories('contact');