summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/deleteproperty.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/deleteproperty.php')
-rw-r--r--apps/contacts/ajax/deleteproperty.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/deleteproperty.php b/apps/contacts/ajax/deleteproperty.php
index 0a3a3c293a0..be352cea616 100644
--- a/apps/contacts/ajax/deleteproperty.php
+++ b/apps/contacts/ajax/deleteproperty.php
@@ -45,7 +45,7 @@ if( $addressbook === false || $addressbook['userid'] != OC_USER::getUser()){
exit();
}
-$vcard = OC_Contacts_VCard::parse($card['carddata']);
+$vcard = OC_VObject::parse($card['carddata']);
// Check if the card is valid
if(is_null($vcard)){
OC_JSON::error(array('data' => array( 'message' => $l10n->t('vCard could not be read.'))));