Used wrong class.

This commit is contained in:
Thomas Tanghus 2012-08-10 01:39:05 +02:00
parent 2dfc485149
commit 2c5ab91c7d
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'),
)
));