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

Fixed 3 - THREE - errors in one method call :-P

This commit is contained in:
Thomas Tanghus 2012-08-09 23:16:07 +02:00
parent 4ed4ef96cd
commit f53a65ef3a

View File

@ -148,6 +148,6 @@ if(!OC_Contacts_VCard::edit($id, $vcard)) {
OCP\JSON::success(array('data' => array(
'line' => $line,
'checksum' => $checksum,
'oldchecksum' => $_POST['checksum']
'lastmodified' => OC_Contacts_VCard::lastModified($vcard)->format('U')
));
'oldchecksum' => $_POST['checksum'],
'lastmodified' => OC_Contacts_App::lastModified($vcard)->format('U'),
)));