Remove inaccurate "is already enabled" message
This commit is contained in:
parent
1cb3583a9a
commit
4eef8afe9b
|
@ -70,10 +70,6 @@ class Enable extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
$groups = $input->getOption('groups');
|
$groups = $input->getOption('groups');
|
||||||
if ($this->manager->isInstalled($appId) && empty($groups)) {
|
|
||||||
$output->writeln($appId . ' is already enabled');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (empty($groups)) {
|
if (empty($groups)) {
|
||||||
\OC_App::enable($appId);
|
\OC_App::enable($appId);
|
||||||
$output->writeln($appId . ' enabled');
|
$output->writeln($appId . ' enabled');
|
||||||
|
|
Loading…
Reference in New Issue