diff options
author | brunoais <brunoaiss@gmail.com> | 2014-12-03 13:48:46 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2014-12-03 13:55:53 +0000 |
commit | 80a7f6930cff09d771d0146fbf2eae901def004e (patch) | |
tree | cb321ad62832e94efb7b8607be6cebcf302306b9 /phpBB/phpbb | |
parent | 614f975e68dc21536d11cb79a4596bd4f9ee8602 (diff) | |
download | forums-80a7f6930cff09d771d0146fbf2eae901def004e.tar forums-80a7f6930cff09d771d0146fbf2eae901def004e.tar.gz forums-80a7f6930cff09d771d0146fbf2eae901def004e.tar.bz2 forums-80a7f6930cff09d771d0146fbf2eae901def004e.tar.xz forums-80a7f6930cff09d771d0146fbf2eae901def004e.zip |
[ticket/13146] Adding eventDispatcher to the list
PHPBB3-13146
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/content_visibility.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index 677c70ad5b..59d239deeb 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -44,6 +44,12 @@ class content_visibility protected $config; /** + * Event dispatcher object + * @var \phpbb\event\dispatcher + */ + protected $phpbb_dispatcher; + + /** * phpBB root path * @var string */ @@ -60,6 +66,7 @@ class content_visibility * * @param \phpbb\auth\auth $auth Auth object * @param \phpbb\config\config $config Config object + * @param \phpbb\event\dispatcher $phpbb_dispatcher Event dispatcher object * @param \phpbb\db\driver\driver_interface $db Database object * @param \phpbb\user $user User object * @param string $phpbb_root_path Root path @@ -69,10 +76,11 @@ class content_visibility * @param string $topics_table Topics table name * @param string $users_table Users table name */ - public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table) + public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\event\dispatcher $phpbb_dispatcher, \phpbb\db\driver\driver_interface $db, \phpbb\user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table) { $this->auth = $auth; $this->config = $config; + $this->phpbb_dispatcher = $phpbb_dispatcher; $this->db = $db; $this->user = $user; $this->phpbb_root_path = $phpbb_root_path; |