diff options
| author | Wesley Fok <wesley.fok@yp.ca> | 2016-08-03 13:42:36 -0400 |
|---|---|---|
| committer | Wesley Fok <wesley.fok@yp.ca> | 2016-08-03 13:42:36 -0400 |
| commit | 8a9cf32b1d6c87367dbfe67d5e567e23fc7a5e66 (patch) | |
| tree | de9be088893994fa32de55d2cbe7408cd6238d63 /phpBB/phpbb/report/report_handler.php | |
| parent | 3d4660a703ecd8d6e0273ad183ef38a7a139c81a (diff) | |
| download | forums-8a9cf32b1d6c87367dbfe67d5e567e23fc7a5e66.tar forums-8a9cf32b1d6c87367dbfe67d5e567e23fc7a5e66.tar.gz forums-8a9cf32b1d6c87367dbfe67d5e567e23fc7a5e66.tar.bz2 forums-8a9cf32b1d6c87367dbfe67d5e567e23fc7a5e66.tar.xz forums-8a9cf32b1d6c87367dbfe67d5e567e23fc7a5e66.zip | |
[ticket/14729] Make reports take config base class
Make the report controller and helper classes accept the more generic
phpbb/config/config base class in their constructors, instead of the
specific database implementation phpbb/config/db.
PHPBB3-14729
Diffstat (limited to 'phpBB/phpbb/report/report_handler.php')
| -rw-r--r-- | phpBB/phpbb/report/report_handler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/report/report_handler.php b/phpBB/phpbb/report/report_handler.php index 126a206dbf..854318c559 100644 --- a/phpBB/phpbb/report/report_handler.php +++ b/phpBB/phpbb/report/report_handler.php @@ -26,7 +26,7 @@ abstract class report_handler implements report_handler_interface protected $dispatcher; /** - * @var \phpbb\config\db + * @var \phpbb\config\config */ protected $config; @@ -60,7 +60,7 @@ abstract class report_handler implements report_handler_interface * @param \phpbb\user $user * @param \phpbb\notification\manager $notification */ - public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\event\dispatcher_interface $dispatcher, \phpbb\config\db $config, \phpbb\auth\auth $auth, \phpbb\user $user, \phpbb\notification\manager $notification) + public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\event\dispatcher_interface $dispatcher, \phpbb\config\config $config, \phpbb\auth\auth $auth, \phpbb\user $user, \phpbb\notification\manager $notification) { $this->db = $db; $this->dispatcher = $dispatcher; |
