diff options
Diffstat (limited to 'phpBB/phpbb/notification/method/email.php')
| -rw-r--r-- | phpBB/phpbb/notification/method/email.php | 23 | 
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  	* | 
