@@ 206-210 (lines=5) @@ | ||
203 | __METHOD__ . ', indexing: ' . $limit . ' starting from ' . $offset, |
|
204 | \OCP\Util::DEBUG); |
|
205 | foreach ($contacts as $contact) { |
|
206 | if(!$contact->retrieve()) { |
|
207 | \OCP\Util::writeLog('contacts', |
|
208 | __METHOD__ . ', Error loading contact ' .print_r($contact, true), |
|
209 | \OCP\Util::DEBUG); |
|
210 | } |
|
211 | Utils\Properties::updateIndex($contact->getId(), $contact); |
|
212 | } |
|
213 | $offset += $limit; |
@@ 707-709 (lines=3) @@ | ||
704 | if (in_array($name, array('PHOTO', 'UID'))) { |
|
705 | continue; |
|
706 | } |
|
707 | if (!is_array($properties)) { |
|
708 | \OCP\Util::writeLog('contacts', __METHOD__.' not an array?: ' .$name. ' '.print_r($properties, true), \OCP\Util::DEBUG); |
|
709 | } |
|
710 | if (in_array($name, Utils\Properties::$multiProperties)) { |
|
711 | unset($this->{$name}); |
|
712 | } |