1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00
This commit is contained in:
Thomas Tanghus 2013-08-03 14:37:51 +02:00
parent 92aff552e0
commit d5313e1237

View File

@ -196,6 +196,13 @@ class ImportController extends BaseController {
continue; // Ditch cards that can't be parsed by Sabre.
}
}
/**
* TODO
* - Check if a contact with identical UID exists.
* - If so, fetch that contact and call $contact->mergeFromVCard($vcard);
* - Increment $updated var (not present yet.)
* - continue
*/
try {
if($addressBook->addChild($vcard)) {
$imported += 1;