mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 12:58:52 +00:00
[ticket/12655] Don't require acp/common again in the commands
PHPBB3-12655
This commit is contained in:
parent
5efd55a348
commit
6c9518ea32
2 changed files with 1 additions and 2 deletions
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue