This commit is contained in:
root
2025-11-13 19:52:28 +03:00
parent 8aeeb05b7d
commit 807dec3b6c
4646 changed files with 163445 additions and 626017 deletions

View File

@@ -23,11 +23,11 @@ class Notify
$this->setUserList($userList);
}
public function send($clientId, $token, $method, $message)
public function send($clientId, $token, $method, $message, $notifyEvent = 'admin_notification')
{
foreach($this->userList as $userId)
foreach ($this->userList as $userId)
{
$this->getNotifier()->send($clientId, $userId, $token, $method, $message);
$this->getNotifier()->send($clientId, $userId, $token, $method, $message, $notifyEvent);
}
}