1
0
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:
Gerald Vogt 2016-01-27 09:40:39 +01:00
parent bf1f128848
commit 789c695ce5

View File

@ -635,7 +635,7 @@ class Database extends AbstractBackend {
$this->setModifiedAddressBook($addressBookId);
\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;
}