Merge pull request #49637 from nextcloud/fix/app-remove-wording

fix: Correct wording when attempting to remove a disabled app
This commit is contained in:
Pytal 2024-12-04 05:15:55 -08:00 committed by GitHub
commit 416c8ead40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,9 +49,9 @@ class Remove extends Command implements CompletionAwareInterface {
protected function execute(InputInterface $input, OutputInterface $output): int {
$appId = $input->getArgument('app-id');
// Check if the app is installed
// Check if the app is enabled
if (!$this->manager->isInstalled($appId)) {
$output->writeln($appId . ' is not installed');
$output->writeln($appId . ' is not enabled');
return 1;
}