aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/method/email.php
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2015-07-14 12:19:52 +0200
committerMáté Bartus <mate.bartus@gmail.com>2015-07-14 12:19:52 +0200
commit1127f8bbf842e9c494cce624e4e61a2e86706862 (patch)
tree6eb8edf56222b8829896eaef4da5937234d3d03c /phpBB/phpbb/notification/method/email.php
parentda0897323b9b5b9e1e376dc3d1c9fe7024568781 (diff)
parent11bef3e22ed8cc2109ab7a5b4229f393d3648862 (diff)
downloadforums-1127f8bbf842e9c494cce624e4e61a2e86706862.tar
forums-1127f8bbf842e9c494cce624e4e61a2e86706862.tar.gz
forums-1127f8bbf842e9c494cce624e4e61a2e86706862.tar.bz2
forums-1127f8bbf842e9c494cce624e4e61a2e86706862.tar.xz
forums-1127f8bbf842e9c494cce624e4e61a2e86706862.zip
Merge pull request #3751 from Nicofuma/ticket/11444
[ticket/11444] Moving the in-board notifications to a method class
Diffstat (limited to 'phpBB/phpbb/notification/method/email.php')
-rw-r--r--phpBB/phpbb/notification/method/email.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/method/email.php b/phpBB/phpbb/notification/method/email.php
index a4b93bc85c..21a6559012 100644
--- a/phpBB/phpbb/notification/method/email.php
+++ b/phpBB/phpbb/notification/method/email.php
@@ -20,6 +20,29 @@ namespace phpbb\notification\method;
class email extends \phpbb\notification\method\messenger_base
{
+ /** @var \phpbb\user */
+ protected $user;
+
+ /** @var \phpbb\config\config */
+ protected $config;
+
+ /**
+ * Notification Method email Constructor
+ *
+ * @param \phpbb\user_loader $user_loader
+ * @param \phpbb\user $user
+ * @param \phpbb\config\config $config
+ * @param string $phpbb_root_path
+ * @param string $php_ext
+ */
+ public function __construct(\phpbb\user_loader $user_loader, \phpbb\user $user, \phpbb\config\config $config, $phpbb_root_path, $php_ext)
+ {
+ parent::__construct($user_loader, $phpbb_root_path, $php_ext);
+
+ $this->user = $user;
+ $this->config = $config;
+ }
+
/**
* Get notification method name
*