mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/15349] Return 1 instead of 2 in case of error
PHPBB3-15346
This commit is contained in:
parent
aa23af38d4
commit
bf289de26f
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class enable extends command
|
||||||
if ($this->manager->is_enabled($name))
|
if ($this->manager->is_enabled($name))
|
||||||
{
|
{
|
||||||
$io->error($this->user->lang('CLI_EXTENSION_ENABLED', $name));
|
$io->error($this->user->lang('CLI_EXTENSION_ENABLED', $name));
|
||||||
return 2;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->manager->enable($name);
|
$this->manager->enable($name);
|
||||||
|
|
Loading…
Add table
Reference in a new issue