1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 09:30:34 +01:00

[ticket/15349] Return 1 instead of 2 in case of error

PHPBB3-15346
This commit is contained in:
Rubén Calvo 2017-09-07 12:54:13 +02:00
parent aa23af38d4
commit bf289de26f

View File

@ -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);