Ver código fonte

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 3 semanas atrás
pai
commit
61621ee1d0
Nenhuma conta vinculada ao e-mail do autor do commit
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      core/Command/App/GetPath.php
  2. 1
    1
      core/Command/App/Update.php

+ 1
- 1
core/Command/App/GetPath.php Ver arquivo

@@ -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 Ver arquivo

@@ -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;

Carregando…
Cancelar
Salvar