diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-10 01:39:05 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-10 01:39:05 +0200 |
commit | 2c5ab91c7d54332c27be6ed44c29d56503c7841e (patch) | |
tree | 0543f8874b4ebee8c71ca86dd7444dfa44d19448 /apps | |
parent | 2dfc4851494a51ac04192030758f2b43da07b521 (diff) | |
download | nextcloud-server-2c5ab91c7d54332c27be6ed44c29d56503c7841e.tar.gz nextcloud-server-2c5ab91c7d54332c27be6ed44c29d56503c7841e.zip |
Used wrong class.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/ajax/contact/addproperty.php | 2 | ||||
-rw-r--r-- | apps/contacts/ajax/contact/deleteproperty.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/ajax/contact/addproperty.php b/apps/contacts/ajax/contact/addproperty.php index df064367ef1..1412cad1cbc 100644 --- a/apps/contacts/ajax/contact/addproperty.php +++ b/apps/contacts/ajax/contact/addproperty.php @@ -147,6 +147,6 @@ if(!OC_Contacts_VCard::edit($id, $vcard)) { OCP\JSON::success(array( 'data' => array( 'checksum' => $checksum, - 'lastmodified' => OC_Contacts_VCard::lastModified($vcard)->format('U')) + 'lastmodified' => OC_Contacts_App::lastModified($vcard)->format('U')) ) ); diff --git a/apps/contacts/ajax/contact/deleteproperty.php b/apps/contacts/ajax/contact/deleteproperty.php index d7545ff1fbf..b76eb19462c 100644 --- a/apps/contacts/ajax/contact/deleteproperty.php +++ b/apps/contacts/ajax/contact/deleteproperty.php @@ -47,6 +47,6 @@ if(!OC_Contacts_VCard::edit($id, $vcard)) { OCP\JSON::success(array( 'data' => array( 'id' => $id, - 'lastmodified' => OC_Contacts_VCard::lastModified($vcard)->format('U'), + 'lastmodified' => OC_Contacts_App::lastModified($vcard)->format('U'), ) )); |