diff options
Diffstat (limited to 'core/Command/App/Disable.php')
-rw-r--r-- | core/Command/App/Disable.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/App/Disable.php b/core/Command/App/Disable.php index e1f9c2a4d72..121ad3f010c 100644 --- a/core/Command/App/Disable.php +++ b/core/Command/App/Disable.php @@ -1,4 +1,5 @@ <?php + /** * SPDX-FileCopyrightText: 2016 ownCloud, Inc. * SPDX-License-Identifier: AGPL-3.0-only @@ -44,7 +45,7 @@ class Disable extends Command implements CompletionAwareInterface { } private function disableApp(string $appId, OutputInterface $output): void { - if ($this->appManager->isInstalled($appId) === false) { + if ($this->appManager->isEnabledForAnyone($appId) === false) { $output->writeln('No such app enabled: ' . $appId); return; } |