aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/thumbnail/recreate.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-08-18 15:18:08 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-09 09:21:51 +0200
commit24e39545ae77a78fb1f5350b4fe5658c924ad75c (patch)
tree33e6b2501c093f045d497d858b8e027bfc38fd3a /phpBB/phpbb/console/command/thumbnail/recreate.php
parenta55c83b77168e77fd4d0101b8c58741f442b2d39 (diff)
downloadforums-24e39545ae77a78fb1f5350b4fe5658c924ad75c.tar
forums-24e39545ae77a78fb1f5350b4fe5658c924ad75c.tar.gz
forums-24e39545ae77a78fb1f5350b4fe5658c924ad75c.tar.bz2
forums-24e39545ae77a78fb1f5350b4fe5658c924ad75c.tar.xz
forums-24e39545ae77a78fb1f5350b4fe5658c924ad75c.zip
[ticket/12692] Add output
PHPBB3-12692
Diffstat (limited to 'phpBB/phpbb/console/command/thumbnail/recreate.php')
-rw-r--r--phpBB/phpbb/console/command/thumbnail/recreate.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/command/thumbnail/recreate.php b/phpBB/phpbb/console/command/thumbnail/recreate.php
index 624e4e507f..ec093161af 100644
--- a/phpBB/phpbb/console/command/thumbnail/recreate.php
+++ b/phpBB/phpbb/console/command/thumbnail/recreate.php
@@ -54,6 +54,7 @@ class recreate extends \phpbb\console\command\command
$this->getApplication()->setAutoExit(false);
+ $output->writeln('<comment>' . $this->user->lang('THUMBNAIL_DELETING') . '</comment>');
$input_delete = new ArrayInput($parameters);
$return = $this->getApplication()->run($input_delete, $output);
@@ -61,6 +62,8 @@ class recreate extends \phpbb\console\command\command
{
$parameters['command'] = 'thumbnail:generate';
+ $output->writeln('');
+ $output->writeln('<comment>' . $this->user->lang('THUMBNAIL_GENERATING') . '</comment>');
$input_create = new ArrayInput($parameters);
$return = $this->getApplication()->run($input_create, $output);
}