Used wrong class.

remotes/origin/stable45
Thomas Tanghus 13 years ago
parent 2dfc485149
commit 2c5ab91c7d
  1. 2
      apps/contacts/ajax/contact/addproperty.php
  2. 2
      apps/contacts/ajax/contact/deleteproperty.php

@ -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…
Cancel
Save