Browse Source
fix: Revert to OC_App in places where we need all apps even disabled ones
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/44025/head
Côme Chilliet
1 week ago
No account linked to committer's email address
|
|
@@ -80,7 +80,7 @@ class GetPath extends Base { |
|
|
|
*/ |
|
|
|
public function completeArgumentValues($argumentName, CompletionContext $context): array { |
|
|
|
if ($argumentName === 'app') { |
|
|
|
return $this->appManager->getInstalledApps(); |
|
|
|
return \OC_App::getAllApps(); |
|
|
|
} |
|
|
|
return []; |
|
|
|
} |
|
|
@@ -91,7 +91,7 @@ class Update extends Command { |
|
|
|
return 1; |
|
|
|
} |
|
|
|
} elseif ($input->getOption('all') || $input->getOption('showonly')) { |
|
|
|
$apps = $this->manager->getInstalledApps(); |
|
|
|
$apps = \OC_App::getAllApps(); |
|
|
|
} else { |
|
|
|
$output->writeln("<error>Please specify an app to update or \"--all\" to update all updatable apps\"</error>"); |
|
|
|
return 1; |