mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/14237] Use $language class for notifications
PHPBB3-14237
This commit is contained in:
@@ -266,6 +266,7 @@ class board extends \phpbb\notification\method\base
|
||||
{
|
||||
$insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->notifications_table);
|
||||
|
||||
/** @var \phpbb\notification\type\type_interface $notification */
|
||||
foreach ($this->queue as $notification)
|
||||
{
|
||||
$data = $notification->get_insert_array();
|
||||
|
@@ -82,6 +82,7 @@ abstract class messenger_base extends \phpbb\notification\method\base
|
||||
$messenger = new \messenger();
|
||||
|
||||
// Time to go through the queue and send emails
|
||||
/** @var \phpbb\notification\type\type_interface $notification */
|
||||
foreach ($this->queue as $notification)
|
||||
{
|
||||
if ($notification->get_email_template() === false)
|
||||
|
Reference in New Issue
Block a user