<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
use Friendica\Core\Logger;
use Friendica\Core\System;
use Friendica\Core\Worker;
-use Friendica\DI;
use Friendica\Database\DBA;
-use Friendica\Model\Notify\Type;
+use Friendica\DI;
use Friendica\Protocol\Activity;
use Friendica\Util\DateTimeFormat;
use Friendica\Worker\Delivery;
// send notifications.
$notif_params = [
- 'type' => Type::MAIL,
- 'otype' => Notify\ObjectType::MAIL,
+ 'type' => Notification\Type::MAIL,
+ 'otype' => Notification\ObjectType::MAIL,
'verb' => Activity::POST,
'uid' => $user['uid'],
'cid' => $msg['contact-id'],