actions/delete.php 1 location
|
@@ 43-53 (lines=11) @@
|
40 |
|
* @param \phpbb\user $user |
41 |
|
* @param string $table |
42 |
|
*/ |
43 |
|
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, |
44 |
|
\phpbb\auth\auth $auth, \phpbb\request\request $request, |
45 |
|
\phpbb\user $user, $table) |
46 |
|
{ |
47 |
|
$this->config = $config; |
48 |
|
$this->db = $db; |
49 |
|
$this->auth = $auth; |
50 |
|
$this->request = $request; |
51 |
|
$this->user = $user; |
52 |
|
$this->table = $table; |
53 |
|
} |
54 |
|
|
55 |
|
/** |
56 |
|
* Delete a shoutbox post |
cron/shoutbox_prune.php 1 location
|
@@ 37-45 (lines=9) @@
|
34 |
|
* @param \phpbb\user $user |
35 |
|
* @param $table |
36 |
|
*/ |
37 |
|
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, |
38 |
|
\phpbb\log\log $log, \phpbb\user $user, $table) |
39 |
|
{ |
40 |
|
$this->config = $config; |
41 |
|
$this->db = $db; |
42 |
|
$this->log = $log; |
43 |
|
$this->table = $table; |
44 |
|
$this->user = $user; |
45 |
|
} |
46 |
|
|
47 |
|
/** |
48 |
|
* Run the cronjob. |
event/shoutbox_listener.php 1 location
|
@@ 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 |
|
{ |