<?php
/**
 * Default triggers
 *
 * @package notification
 */

use BracketSpace\Notification\Defaults\Trigger;

require_once __DIR__ . '/../../classes/Defaults/Trigger/Contacter/ContacterAddedTrigger.php';
require_once __DIR__ . '/../../classes/Defaults/Trigger/Contacter/ContacterRemovedTrigger.php';

/** Add trigger to send email on new record. */
notification_register_trigger( new ContacterAddedTrigger() );

/** Add trigger to send email on delete record. */
notification_register_trigger( new ContacterRemovedTrigger() );