mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/14895] Use SymfonyStyle in all CLI
PHPBB3-14895
This commit is contained in:
4
phpBB/phpbb/console/command/cache/purge.php
vendored
4
phpBB/phpbb/console/command/cache/purge.php
vendored
@@ -14,6 +14,7 @@ namespace phpbb\console\command\cache;
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
class purge extends \phpbb\console\command\command
|
||||
{
|
||||
@@ -84,6 +85,7 @@ class purge extends \phpbb\console\command\command
|
||||
|
||||
$this->log->add('admin', ANONYMOUS, '', 'LOG_PURGE_CACHE', time(), array());
|
||||
|
||||
$output->writeln($this->user->lang('PURGE_CACHE_SUCCESS'));
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
$io->success($this->user->lang('PURGE_CACHE_SUCCESS'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user