aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/method
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-10-29 14:46:02 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2015-10-29 14:46:02 +0100
commit257f5f8b24b34f6e37144a59d4a2cabf665f5fc8 (patch)
tree1a1c8bfa2b254be0281a941208d02409f8672626 /phpBB/phpbb/notification/method
parent5f85f19a5ea9f89a869c9fcb6391e48faa5cbd0c (diff)
parent28cc98a7ac69f5670ccb2746f8e4158681aa7926 (diff)
downloadforums-257f5f8b24b34f6e37144a59d4a2cabf665f5fc8.tar
forums-257f5f8b24b34f6e37144a59d4a2cabf665f5fc8.tar.gz
forums-257f5f8b24b34f6e37144a59d4a2cabf665f5fc8.tar.bz2
forums-257f5f8b24b34f6e37144a59d4a2cabf665f5fc8.tar.xz
forums-257f5f8b24b34f6e37144a59d4a2cabf665f5fc8.zip
Merge pull request #3971 from VSEphpbb/ticket/14237
[ticket/14237] Use $language class for notifications
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)