aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Command/App/GetPath.php2
-rw-r--r--core/Command/App/Update.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/App/GetPath.php b/core/Command/App/GetPath.php
index 844e14ffdde..d5433253dd9 100644
--- a/core/Command/App/GetPath.php
+++ b/core/Command/App/GetPath.php
@@ -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 [];
}
diff --git a/core/Command/App/Update.php b/core/Command/App/Update.php
index 6047ac6b843..c2e24bf94b7 100644
--- a/core/Command/App/Update.php
+++ b/core/Command/App/Update.php
@@ -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;