@@ -10,15 +10,16 @@ services:
1010 phpbbde.pastebin.functions.utility :
1111 class : phpbbde\pastebin\functions\utility
1212 arguments :
13- - ' %phpbbde.pastebin.hightlightlangs%'
1413 - ' %core.php_ext%'
1514 - ' @language'
15+
1616 phpbbde.pastebin.functions.pastebin :
1717 class : phpbbde\pastebin\functions\pastebin
1818 arguments :
1919 - ' @dbal.conn'
2020 - ' @user'
21- - ' %tables.phpbbde.pastebin.pastebin%'
21+ - ' %phpbbde.pastebin.tables.pastebin%'
22+
2223 phpbbde.pastebin.controller.main :
2324 class : phpbbde\pastebin\controller\main
2425 arguments :
@@ -37,7 +38,8 @@ services:
3738 - ' @phpbbde.pastebin.functions.pastebin'
3839 - ' %core.root_path%'
3940 - ' %core.php_ext%'
40- - ' %tables.phpbbde.pastebin.pastebin%'
41+ - ' %phpbbde.pastebin.tables.pastebin%'
42+
4143 phpbbde.pastebin.settings.acp :
4244 class : phpbbde\pastebin\controller\acp_pastebin_settings
4345 arguments :
@@ -47,6 +49,7 @@ services:
4749 - ' @language'
4850 - ' @request'
4951 - ' @template'
52+
5053 phpbbde.pastebin.languages.acp :
5154 class : phpbbde\pastebin\controller\acp_pastebin_languages
5255 arguments :
@@ -55,7 +58,7 @@ services:
5558 - ' @request'
5659 - ' @dbal.conn'
5760 - ' @template'
58- - ' %phpbbde.pastebin.tables.pastebin_langs '
61+
5962 phpbbde.pastebin.base_listener :
6063 class : phpbbde\pastebin\event\base_events
6164 arguments :
@@ -71,14 +74,22 @@ services:
7174 class : phpbbde\pastebin\event\acp_events
7275 tags :
7376 - {name: event.listener}
77+
7478 phpbbde.pastebin.cron.main :
7579 class : phpbbde\pastebin\cron\main
7680 arguments :
7781 - ' @config'
7882 - ' @dbal.conn'
7983 - ' %phpbbde.pastebin.cron.prune_interval%'
80- - ' %tables. phpbbde.pastebin.pastebin%'
84+ - ' %phpbbde.pastebin.tables .pastebin%'
8185 calls :
8286 - [set_name, [phpbbde.pastebin.cron.main]]
8387 tags :
8488 - {name: cron.task}
89+
90+ phpbbde.pastebin.listener :
91+ class : phpbbde\pastebin\event\permission_listener
92+ arguments :
93+ - ' @auth'
94+ tags :
95+ - { name: event.listener }
0 commit comments