aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/extension/enable.php
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-09-07 12:54:13 +0200
committerRubén Calvo <rubencm@gmail.com>2017-09-07 12:56:39 +0200
commitbf289de26f137bfe50608b6f9c549b306ede5b2a (patch)
tree50a12e0730bdce65c5c91a487281252de9a214e9 /phpBB/phpbb/console/command/extension/enable.php
parentaa23af38d4d3a13918e859005277955debd76acd (diff)
downloadforums-bf289de26f137bfe50608b6f9c549b306ede5b2a.tar
forums-bf289de26f137bfe50608b6f9c549b306ede5b2a.tar.gz
forums-bf289de26f137bfe50608b6f9c549b306ede5b2a.tar.bz2
forums-bf289de26f137bfe50608b6f9c549b306ede5b2a.tar.xz
forums-bf289de26f137bfe50608b6f9c549b306ede5b2a.zip
[ticket/15349] Return 1 instead of 2 in case of error
PHPBB3-15346
Diffstat (limited to 'phpBB/phpbb/console/command/extension/enable.php')
-rw-r--r--phpBB/phpbb/console/command/extension/enable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/console/command/extension/enable.php b/phpBB/phpbb/console/command/extension/enable.php
index b35fb9c4c6..f92de0069c 100644
--- a/phpBB/phpbb/console/command/extension/enable.php
+++ b/phpBB/phpbb/console/command/extension/enable.php
@@ -48,7 +48,7 @@ class enable extends command
if ($this->manager->is_enabled($name))
{
$io->error($this->user->lang('CLI_EXTENSION_ENABLED', $name));
- return 2;
+ return 1;
}
$this->manager->enable($name);