private function deleteInvitation($notificationId) { $this->service->deleteNotificationById($notificationId); OW::getEventManager()->call('invitations.remove', array('entityType' => self::INVITATION_ASK, 'entityId' => $notificationId)); }