diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-03-12 22:45:33 +0100 |
---|---|---|
committer | Rubén Calvo <rubencm@gmail.com> | 2017-03-13 22:20:59 +0100 |
commit | 45f0adcd0a4e6c7e43183fe641fa03ef2d90d45b (patch) | |
tree | 981b1489e505bd6585faf6215afcf3be09ee131b /phpBB/phpbb/console/command/extension/disable.php | |
parent | 9b3609d6f60af328e6681146014453da0af4ee01 (diff) | |
download | forums-45f0adcd0a4e6c7e43183fe641fa03ef2d90d45b.tar forums-45f0adcd0a4e6c7e43183fe641fa03ef2d90d45b.tar.gz forums-45f0adcd0a4e6c7e43183fe641fa03ef2d90d45b.tar.bz2 forums-45f0adcd0a4e6c7e43183fe641fa03ef2d90d45b.tar.xz forums-45f0adcd0a4e6c7e43183fe641fa03ef2d90d45b.zip |
[ticket/15123] modified return error codes
PHPBB3-15123
Diffstat (limited to 'phpBB/phpbb/console/command/extension/disable.php')
-rw-r--r-- | phpBB/phpbb/console/command/extension/disable.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/console/command/extension/disable.php b/phpBB/phpbb/console/command/extension/disable.php index 12674c16cb..b2e10fb960 100644 --- a/phpBB/phpbb/console/command/extension/disable.php +++ b/phpBB/phpbb/console/command/extension/disable.php @@ -41,7 +41,7 @@ class disable extends command if (!$this->manager->is_enabled($name)) { $io->error($this->user->lang('CLI_EXTENSION_DISABLED', $name)); - return 1; + return 2; } $this->manager->disable($name); |