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 5f51366435
commit 26a9d7ea71
1 changed files with 3 additions and 3 deletions

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