Move Notify::TYPE_MAIL

This commit is contained in:
nupplaPhil
2020-02-04 22:10:19 +01:00
parent e6fb044e60
commit 9435cc4b88
8 changed files with 11 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\DI;
use Friendica\Database\DBA;
use Friendica\Model\Notify\Type;
use Friendica\Network\Probe;
use Friendica\Protocol\Activity;
use Friendica\Util\DateTimeFormat;
@@ -68,7 +69,7 @@ class Mail
// send notifications.
$notif_params = [
'type' => NOTIFY_MAIL,
'type' => Type::MAIL,
'notify_flags' => $user['notify-flags'],
'language' => $user['language'],
'to_name' => $user['username'],