mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/15349] Return 1 instead of 2 in case of error
PHPBB3-15346
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user