aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-04-22 15:14:19 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-04-22 15:14:19 +0200
commit61621ee1d048802249602cb91fad7df437ad16de (patch)
tree4f4b344afd2d07d112b7a6e40878e04795341c24 /core
parent1b5a0c3e1ca6b6321695d3995d80f3c37c64966f (diff)
downloadnextcloud-server-61621ee1d048802249602cb91fad7df437ad16de.tar.gz
nextcloud-server-61621ee1d048802249602cb91fad7df437ad16de.zip
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>
Diffstat (limited to 'core')
-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;