diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-07-09 17:04:40 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-07-13 22:41:14 +0200 |
commit | fc34057f288c6b8c656a0ed1ac2cb5a86f86206d (patch) | |
tree | e1fead9c675d649708d7540c3d6e4bbf9d97abd2 /phpBB/phpbb/notification/type/topic.php | |
parent | f29b12e35397ef4a4996ea7d212f0ab5a7a1dba6 (diff) | |
download | forums-fc34057f288c6b8c656a0ed1ac2cb5a86f86206d.tar forums-fc34057f288c6b8c656a0ed1ac2cb5a86f86206d.tar.gz forums-fc34057f288c6b8c656a0ed1ac2cb5a86f86206d.tar.bz2 forums-fc34057f288c6b8c656a0ed1ac2cb5a86f86206d.tar.xz forums-fc34057f288c6b8c656a0ed1ac2cb5a86f86206d.zip |
[ticket/11444] Update tests and cleanup types/methods
PHPBB3-11444
Diffstat (limited to 'phpBB/phpbb/notification/type/topic.php')
-rw-r--r-- | phpBB/phpbb/notification/type/topic.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/type/topic.php b/phpBB/phpbb/notification/type/topic.php index 22eb4bd526..4812e8b5af 100644 --- a/phpBB/phpbb/notification/type/topic.php +++ b/phpBB/phpbb/notification/type/topic.php @@ -55,6 +55,22 @@ class topic extends \phpbb\notification\type\base 'group' => 'NOTIFICATION_GROUP_POSTING', ); + /** @var \phpbb\user_loader */ + protected $user_loader; + + /** @var \phpbb\config\config */ + protected $config; + + public function set_config(\phpbb\config\config $config) + { + $this->config = $config; + } + + public function set_user_loader(\phpbb\user_loader $user_loader) + { + $this->user_loader = $user_loader; + } + /** * Is available */ |