mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12685] Inject console.command_collection instead of the container
PHPBB3-12685
This commit is contained in:
@@ -58,5 +58,5 @@ $user = $phpbb_container->get('user');
|
||||
$user->add_lang('acp/common');
|
||||
|
||||
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $user);
|
||||
$application->register_container_commands($phpbb_container);
|
||||
$application->register_container_commands($phpbb_container->get('console.command_collection'));
|
||||
$application->run($input);
|
||||
|
Reference in New Issue
Block a user