diff options
author | n-aleha <nick_aleha@myway.com> | 2014-08-03 09:53:18 +0300 |
---|---|---|
committer | n-aleha <nick_aleha@myway.com> | 2014-08-03 09:53:18 +0300 |
commit | 752363b435d77f9b2cf8fbc35f29e29ac74e0c97 (patch) | |
tree | 867ef1e448f516589dbf7342fa4f54d7ed2a121b /phpBB/phpbb/console/command/extension | |
parent | c991b1d587e8ab3b080e2e6762646efe00e05bc5 (diff) | |
download | forums-752363b435d77f9b2cf8fbc35f29e29ac74e0c97.tar forums-752363b435d77f9b2cf8fbc35f29e29ac74e0c97.tar.gz forums-752363b435d77f9b2cf8fbc35f29e29ac74e0c97.tar.bz2 forums-752363b435d77f9b2cf8fbc35f29e29ac74e0c97.tar.xz forums-752363b435d77f9b2cf8fbc35f29e29ac74e0c97.zip |
[ticket/12909] Use correct lang vars in cli extension enable
PHPBB3-12909
Diffstat (limited to 'phpBB/phpbb/console/command/extension')
-rw-r--r-- | phpBB/phpbb/console/command/extension/enable.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/extension/enable.php b/phpBB/phpbb/console/command/extension/enable.php index cca4975aa6..59ff11e9b7 100644 --- a/phpBB/phpbb/console/command/extension/enable.php +++ b/phpBB/phpbb/console/command/extension/enable.php @@ -40,12 +40,12 @@ class enable extends command if ($this->manager->is_enabled($name)) { $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_ENABLE', time(), array($name)); - $output->writeln('<error>' . $this->user->lang('CLI_EXTENSION_ENABLE_FAILURE', $name) . '</error>'); + $output->writeln('<info>' . $this->user->lang('CLI_EXTENSION_ENABLE_SUCCESS', $name) . '</info>'); return 0; } else { - $output->writeln('<info>' . $this->user->lang('CLI_EXTENSION_ENABLE_SUCCESS', $name) . '</info>'); + $output->writeln('<error>' . $this->user->lang('CLI_EXTENSION_ENABLE_FAILURE', $name) . '</error>'); return 1; } } |