| @@ 47-58 (lines=12) @@ | ||
| 44 | * @param \phpbb\user $user |
|
| 45 | * @param string $table |
|
| 46 | */ |
|
| 47 | public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, |
|
| 48 | \phpbb\auth\auth $auth, \phpbb\log\log $log, \phpbb\request\request $request, |
|
| 49 | \phpbb\user $user, $table) |
|
| 50 | { |
|
| 51 | $this->config = $config; |
|
| 52 | $this->db = $db; |
|
| 53 | $this->auth = $auth; |
|
| 54 | $this->log = $log; |
|
| 55 | $this->request = $request; |
|
| 56 | $this->user = $user; |
|
| 57 | $this->table = $table; |
|
| 58 | } |
|
| 59 | ||
| 60 | /** |
|
| 61 | * Delete a shoutbox post |
|
| @@ 40-49 (lines=10) @@ | ||
| 37 | * @param \phpbb\auth\auth $auth |
|
| 38 | * @param \phpbb\request\request $request |
|
| 39 | */ |
|
| 40 | public function __construct(\phpbb\config\config $config, \phpbb\user $user, \phpbb\template\template $template, |
|
| 41 | \phpbb\controller\helper $helper, \phpbb\auth\auth $auth, \phpbb\request\request $request) |
|
| 42 | { |
|
| 43 | $this->config = $config; |
|
| 44 | $this->user = $user; |
|
| 45 | $this->template = $template; |
|
| 46 | $this->helper = $helper; |
|
| 47 | $this->auth = $auth; |
|
| 48 | $this->request = $request; |
|
| 49 | } |
|
| 50 | ||
| 51 | static public function getSubscribedEvents() |
|
| 52 | { |
|