diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-07-08 16:58:45 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-08-06 13:26:14 +0200 |
commit | 618065ec16030f1d142667473ee2ff42cd80e72b (patch) | |
tree | 441b572ce63ce1421b9c6e306b3826ab2fb5a079 /phpBB/phpbb/console/command/thumbnail/recreate.php | |
parent | e3e293f5a6b38bb85f57841756a362e26b09088b (diff) | |
download | forums-618065ec16030f1d142667473ee2ff42cd80e72b.tar forums-618065ec16030f1d142667473ee2ff42cd80e72b.tar.gz forums-618065ec16030f1d142667473ee2ff42cd80e72b.tar.bz2 forums-618065ec16030f1d142667473ee2ff42cd80e72b.tar.xz forums-618065ec16030f1d142667473ee2ff42cd80e72b.zip |
[ticket/12692] Fix tests and update style
PHPBB3-12692
Diffstat (limited to 'phpBB/phpbb/console/command/thumbnail/recreate.php')
-rw-r--r-- | phpBB/phpbb/console/command/thumbnail/recreate.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/phpbb/console/command/thumbnail/recreate.php b/phpBB/phpbb/console/command/thumbnail/recreate.php index 5d3edbd699..382da290bf 100644 --- a/phpBB/phpbb/console/command/thumbnail/recreate.php +++ b/phpBB/phpbb/console/command/thumbnail/recreate.php @@ -49,12 +49,11 @@ class recreate extends \phpbb\console\command\command if ($input->getOption('verbose')) { - $parameters['-v'] = true; + $parameters['-' . str_repeat('v', $output->getVerbosity() - 1)] = true; } $this->getApplication()->setAutoExit(false); - $output->writeln('<comment>' . $this->user->lang('CLI_THUMBNAIL_DELETING') . '</comment>'); $input_delete = new ArrayInput($parameters); $return = $this->getApplication()->run($input_delete, $output); @@ -62,8 +61,6 @@ class recreate extends \phpbb\console\command\command { $parameters['command'] = 'thumbnail:generate'; - $output->writeln(''); - $output->writeln('<comment>' . $this->user->lang('CLI_THUMBNAIL_GENERATING') . '</comment>'); $input_create = new ArrayInput($parameters); $return = $this->getApplication()->run($input_create, $output); } |