diff options
| author | Matt Friedman <maf675@gmail.com> | 2016-12-08 14:25:09 -0800 |
|---|---|---|
| committer | Matt Friedman <maf675@gmail.com> | 2016-12-08 14:25:09 -0800 |
| commit | cbf6d71f6859fd6c036967ed19082f3e54efc328 (patch) | |
| tree | 0db265f8f3679b7a2004f4100fc33f5106a733d9 /phpBB/phpbb/console/command/db/migrate.php | |
| parent | b17fa7dfa588fc191f4ed268b88dcaec40294acb (diff) | |
| download | forums-cbf6d71f6859fd6c036967ed19082f3e54efc328.tar forums-cbf6d71f6859fd6c036967ed19082f3e54efc328.tar.gz forums-cbf6d71f6859fd6c036967ed19082f3e54efc328.tar.bz2 forums-cbf6d71f6859fd6c036967ed19082f3e54efc328.tar.xz forums-cbf6d71f6859fd6c036967ed19082f3e54efc328.zip | |
[ticket/14895] Fix issues in CLI classes
PHPBB3-14895
Diffstat (limited to 'phpBB/phpbb/console/command/db/migrate.php')
| -rw-r--r-- | phpBB/phpbb/console/command/db/migrate.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/db/migrate.php b/phpBB/phpbb/console/command/db/migrate.php index f2cc9142a6..4270e2d703 100644 --- a/phpBB/phpbb/console/command/db/migrate.php +++ b/phpBB/phpbb/console/command/db/migrate.php @@ -31,21 +31,21 @@ class migrate extends \phpbb\console\command\db\migration_command /** @var \phpbb\language\language */ protected $language; - function __construct(\phpbb\user $user, \phpbb\language\language $language, \phpbb\db\migrator $migrator, \phpbb\extension\manager $extension_manager, \phpbb\config\config $config, \phpbb\cache\service $cache, \phpbb\log\log $log, \phpbb\filesystem\filesystem_interface $filesystem, $phpbb_root_path) + public function __construct(\phpbb\user $user, \phpbb\language\language $language, \phpbb\db\migrator $migrator, \phpbb\extension\manager $extension_manager, \phpbb\config\config $config, \phpbb\cache\service $cache, \phpbb\log\log $log, \phpbb\filesystem\filesystem_interface $filesystem, $phpbb_root_path) { $this->language = $language; $this->log = $log; $this->filesystem = $filesystem; $this->phpbb_root_path = $phpbb_root_path; parent::__construct($user, $migrator, $extension_manager, $config, $cache); - $this->user->add_lang(array('common', 'install', 'migrator')); + $this->language->add_lang(array('common', 'install', 'migrator')); } protected function configure() { $this ->setName('db:migrate') - ->setDescription($this->user->lang('CLI_DESCRIPTION_DB_MIGRATE')) + ->setDescription($this->language->lang('CLI_DESCRIPTION_DB_MIGRATE')) ; } |
