diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-20 14:41:17 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-12-07 20:40:58 +0100 |
commit | c67ac46b6c3b333c7f16cbdc8df7b9a6b4f3fb1b (patch) | |
tree | 14d2a1f3061f5e8236bdd106c9b0dea9bbbe9c4d /apps/contacts/ajax/deleteproperty.php | |
parent | b9e6f5e42d54fc91205f03f4b19bbf313278f476 (diff) | |
download | nextcloud-server-c67ac46b6c3b333c7f16cbdc8df7b9a6b4f3fb1b.tar.gz nextcloud-server-c67ac46b6c3b333c7f16cbdc8df7b9a6b4f3fb1b.zip |
Use a proxy class to interface with Sabre_VObject classes
Diffstat (limited to 'apps/contacts/ajax/deleteproperty.php')
-rw-r--r-- | apps/contacts/ajax/deleteproperty.php | 2 |
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.')))); |