diff options
Diffstat (limited to 'core/Command/App/Install.php')
-rw-r--r-- | core/Command/App/Install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/App/Install.php b/core/Command/App/Install.php index aa263a8f3bf..c8a396c8e36 100644 --- a/core/Command/App/Install.php +++ b/core/Command/App/Install.php @@ -56,9 +56,9 @@ class Install extends Command { protected function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('app-id'); - $forceEnable = (bool) $input->getOption('force'); + $forceEnable = (bool)$input->getOption('force'); - if ($this->appManager->isInstalled($appId)) { + if ($this->appManager->isEnabledForAnyone($appId)) { $output->writeln($appId . ' already installed'); return 1; } |