1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Used wrong class.

This commit is contained in:
Thomas Tanghus 2012-08-10 01:39:05 +02:00
parent f53a65ef3a
commit 90f4e3e40e
2 changed files with 2 additions and 2 deletions

View File

@ -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'))
)
);

View File

@ -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'),
)
));