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

View File

@ -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;