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
parent
commit
61621ee1d0
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      core/Command/App/GetPath.php
  2. 1
    1
      core/Command/App/Update.php

+ 1
- 1
core/Command/App/GetPath.php View File

@@ -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 [];
}

+ 1
- 1
core/Command/App/Update.php View File

@@ -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…
Cancel
Save