aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/method
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-10-13 23:40:52 -0700
committerMatt Friedman <maf675@gmail.com>2015-10-13 23:40:52 -0700
commitb64a37d451132dcf7ef5fc3d6e700a6fb6decd90 (patch)
tree8432ace2597886cfbf20bcfdd27e39cd17c1f6b1 /phpBB/phpbb/notification/method
parent03cb2a7b0c5a3756522c27d708bdaf0bfa771706 (diff)
downloadforums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar.gz
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar.bz2
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar.xz
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.zip
[ticket/14237] Use $language class for notifications
PHPBB3-14237
Diffstat (limited to 'phpBB/phpbb/notification/method')
-rw-r--r--phpBB/phpbb/notification/method/board.php1
-rw-r--r--phpBB/phpbb/notification/method/messenger_base.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/method/board.php b/phpBB/phpbb/notification/method/board.php
index c45f3a8caa..931b252daa 100644
--- a/phpBB/phpbb/notification/method/board.php
+++ b/phpBB/phpbb/notification/method/board.php
@@ -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();
diff --git a/phpBB/phpbb/notification/method/messenger_base.php b/phpBB/phpbb/notification/method/messenger_base.php
index 61119b9882..8a8e284e13 100644
--- a/phpBB/phpbb/notification/method/messenger_base.php
+++ b/phpBB/phpbb/notification/method/messenger_base.php
@@ -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)