summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-10 01:39:05 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-10 01:39:05 +0200
commit2c5ab91c7d54332c27be6ed44c29d56503c7841e (patch)
tree0543f8874b4ebee8c71ca86dd7444dfa44d19448 /apps
parent2dfc4851494a51ac04192030758f2b43da07b521 (diff)
downloadnextcloud-server-2c5ab91c7d54332c27be6ed44c29d56503c7841e.tar.gz
nextcloud-server-2c5ab91c7d54332c27be6ed44c29d56503c7841e.zip
Used wrong class.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/ajax/contact/addproperty.php2
-rw-r--r--apps/contacts/ajax/contact/deleteproperty.php2
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'),
)
));