From 98e0559a1d6205804486ad3c7c46a0f07f0e980c Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 28 Oct 2022 22:08:29 +0200 Subject: [PATCH] [ticket/17010] Remove wrong references to emails PHPBB3-17010 --- phpBB/phpbb/notification/method/webpush.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/phpbb/notification/method/webpush.php b/phpBB/phpbb/notification/method/webpush.php index 6e6cc7a1eb..ae6317a4cd 100644 --- a/phpBB/phpbb/notification/method/webpush.php +++ b/phpBB/phpbb/notification/method/webpush.php @@ -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) {