mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17010] Remove wrong references to emails
PHPBB3-17010
This commit is contained in:
parent
166f0deae9
commit
98e0559a1d
1 changed files with 3 additions and 3 deletions
|
@ -149,14 +149,14 @@ class webpush extends \phpbb\notification\method\messenger_base
|
|||
return;
|
||||
}
|
||||
|
||||
// Load all users we want to notify (we need their email address)
|
||||
// Load all users we want to notify
|
||||
$user_ids = [];
|
||||
foreach ($this->queue as $notification)
|
||||
{
|
||||
$user_ids[] = $notification->user_id;
|
||||
}
|
||||
|
||||
// We do not send emails to banned users
|
||||
// Do not send push notifications to banned users
|
||||
if (!function_exists('phpbb_get_banned_user_ids'))
|
||||
{
|
||||
include($this->phpbb_root_path . 'includes/functions_user.' . $this->php_ext);
|
||||
|
@ -196,7 +196,7 @@ class webpush extends \phpbb\notification\method\messenger_base
|
|||
$web_push = new \Minishlink\WebPush\WebPush($auth);
|
||||
|
||||
$number_of_notifications = 0;
|
||||
// Time to go through the queue and send emails
|
||||
// Time to go through the queue and send notifications
|
||||
/** @var type_interface $notification */
|
||||
foreach ($this->queue as $notification)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue