Used wrong class.
This commit is contained in:
parent
2dfc485149
commit
2c5ab91c7d
2 changed files with 2 additions and 2 deletions
|
@ -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'))
|
||||
)
|
||||
);
|
||||
|
|
|
@ -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'),
|
||||
)
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue