mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-17 06:04:10 +02:00
Merge pull request #2543 from Nicofuma/ticket/12655
[ticket/12655] Run phpbbcli as a shell when --shell or -s is used * Nicofuma/ticket/12655: [ticket/12655] Set register_container_commands as public [ticket/12655] Don't try to restore the definition in the help [ticket/12655] Fix coding style [ticket/12655] Make the --shell option available only for phpbbcli.php [ticket/12655] Fix coding style in \phpbb\console\application [ticket/12655] Set the arguments of \phpbb\console\application as required [ticket/12655] Don't require acp/common again in the commands [ticket/12655] Run the shell when --shell is used
This commit is contained in:
1
phpBB/phpbb/console/command/cache/purge.php
vendored
1
phpBB/phpbb/console/command/cache/purge.php
vendored
@@ -43,7 +43,6 @@ class purge extends \phpbb\console\command\command
|
||||
$this->log = $log;
|
||||
$this->user = $user;
|
||||
$this->config = $config;
|
||||
$this->user->add_lang(array('acp/common'));
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
@@ -43,7 +43,7 @@ class migrate extends \phpbb\console\command\command
|
||||
$this->cache = $cache;
|
||||
$this->log = $log;
|
||||
$this->user = $user;
|
||||
$this->user->add_lang(array('common', 'acp/common', 'install', 'migrator'));
|
||||
$this->user->add_lang(array('common', 'install', 'migrator'));
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user