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:
parent
aa23af38d4
commit
bf289de26f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user