mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
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>
This commit is contained in:
parent
1b5a0c3e1c
commit
61621ee1d0
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue