mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-28 10:24:11 +01:00
pass addressBookId as addressBookId, not parent
This commit is contained in:
parent
bf1f128848
commit
789c695ce5
@ -635,7 +635,7 @@ class Database extends AbstractBackend {
|
|||||||
|
|
||||||
$this->setModifiedAddressBook($addressBookId);
|
$this->setModifiedAddressBook($addressBookId);
|
||||||
\OCP\Util::emitHook('OCA\Contacts', 'post_createContact',
|
\OCP\Util::emitHook('OCA\Contacts', 'post_createContact',
|
||||||
array('id' => $newid, 'parent' => $addressBookId, 'backend' => $this->name, 'contact' => $contact)
|
array('id' => $newid, 'addressBookId' => $addressBookId, 'backend' => $this->name, 'contact' => $contact)
|
||||||
);
|
);
|
||||||
return (string)$newid;
|
return (string)$newid;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user