aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-08-03 17:52:24 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-08-03 17:52:24 +0200
commit7beef6e142dc4ec6e29bdedadb3dce6ae107821a (patch)
tree43b5455281602d6c27c76656222100bce78feccb /phpBB/phpbb/console
parentb20c6936bcb88e3b592d60f3d0ec1e15488649b5 (diff)
parent752363b435d77f9b2cf8fbc35f29e29ac74e0c97 (diff)
downloadforums-7beef6e142dc4ec6e29bdedadb3dce6ae107821a.tar
forums-7beef6e142dc4ec6e29bdedadb3dce6ae107821a.tar.gz
forums-7beef6e142dc4ec6e29bdedadb3dce6ae107821a.tar.bz2
forums-7beef6e142dc4ec6e29bdedadb3dce6ae107821a.tar.xz
forums-7beef6e142dc4ec6e29bdedadb3dce6ae107821a.zip
Merge pull request #2793 from n-aleha/ticket/12909
[ticket/12909] Use correct lang vars in cli extension enable * n-aleha/ticket/12909: [ticket/12909] Use correct lang vars in cli extension enable
Diffstat (limited to 'phpBB/phpbb/console')
-rw-r--r--phpBB/phpbb/console/command/extension/enable.php4
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;
}
}