mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Move Notify::TYPE_MAIL
This commit is contained in:
parent
e6fb044e60
commit
9435cc4b88
8 changed files with 11 additions and 8 deletions
|
@ -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'],
|
||||
|
|
|
@ -15,4 +15,6 @@ class Type
|
|||
const WALL = 4;
|
||||
/** @var int Notification about a followup comment */
|
||||
const COMMENT = 8;
|
||||
/** @var int Notification about a private message */
|
||||
const MAIL = 16;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue