$event = $this->activityManager->generateEvent();
$event->setApp('dav')
->setObject('addressbook', (int) $addressbookData['id'])
- ->setType('addressbook')
+ ->setType('contacts')
->setAuthor($currentUser);
$changedVisibleInformation = array_intersect([
$event = $this->activityManager->generateEvent();
$event->setApp('dav')
->setObject('addressbook', (int) $addressbookData['id'])
- ->setType('addressbook')
+ ->setType('contacts')
->setAuthor($currentUser);
foreach ($remove as $principal) {
$event = $this->activityManager->generateEvent();
$event->setApp('dav')
->setObject('addressbook', (int) $addressbookData['id'])
- ->setType('card')
+ ->setType('contacts')
->setAuthor($currentUser);
$users = $this->getUsersForShares($shares);
* @throws \InvalidArgumentException
*/
public function parse($language, IEvent $event, IEvent $previousEvent = null): IEvent {
- if ($event->getApp() !== 'dav' || $event->getType() !== 'addressbook') {
+ if ($event->getApp() !== 'dav' || $event->getType() !== 'contacts') {
throw new \InvalidArgumentException();
}
* @throws \InvalidArgumentException
*/
public function parse($language, IEvent $event, IEvent $previousEvent = null): IEvent {
- if ($event->getApp() !== 'dav' || $event->getType() !== 'card') {
+ if ($event->getApp() !== 'dav' || $event->getType() !== 'contacts') {
throw new \InvalidArgumentException();
}