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:
parent
f53a65ef3a
commit
90f4e3e40e
@ -147,6 +147,6 @@ if(!OC_Contacts_VCard::edit($id, $vcard)) {
|
|||||||
OCP\JSON::success(array(
|
OCP\JSON::success(array(
|
||||||
'data' => array(
|
'data' => array(
|
||||||
'checksum' => $checksum,
|
'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(
|
OCP\JSON::success(array(
|
||||||
'data' => array(
|
'data' => array(
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
'lastmodified' => OC_Contacts_VCard::lastModified($vcard)->format('U'),
|
'lastmodified' => OC_Contacts_App::lastModified($vcard)->format('U'),
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user