diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/App/Enable.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Command/App/Enable.php b/core/Command/App/Enable.php index c4e2363def5..d82a71d9eb4 100644 --- a/core/Command/App/Enable.php +++ b/core/Command/App/Enable.php @@ -105,6 +105,10 @@ class Enable extends Command implements CompletionAwareInterface { return $group->getDisplayName(); }, $groupIds); + if ($this->appManager->isInstalled($appId) && $groupIds === []) { + $output->writeln($appId . ' already enabled'); + return; + } try { /** @var Installer $installer */ |