aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/App/GetPath.php
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-09-13 17:44:38 +0200
committerGitHub <noreply@github.com>2024-09-13 17:44:38 +0200
commitbcb4e781a407798ef9d071dc3a15a1d0ac9e0e8d (patch)
treee210686e9c6d7fdd33b7e0cc905fbd38143db0a3 /core/Command/App/GetPath.php
parent032f17c7956748fd25e33edf5d85d1d25b1ee94b (diff)
parent7a16d01ea79bf8effedd5e0e9ac7c2e4b4ea41f8 (diff)
downloadnextcloud-server-bcb4e781a407798ef9d071dc3a15a1d0ac9e0e8d.tar.gz
nextcloud-server-bcb4e781a407798ef9d071dc3a15a1d0ac9e0e8d.zip
Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_app
Migrate away from OC_App to IAppManager
Diffstat (limited to 'core/Command/App/GetPath.php')
-rw-r--r--core/Command/App/GetPath.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/App/GetPath.php b/core/Command/App/GetPath.php
index 442af2f3570..3ba4ed7781b 100644
--- a/core/Command/App/GetPath.php
+++ b/core/Command/App/GetPath.php
@@ -63,7 +63,7 @@ class GetPath extends Base {
*/
public function completeArgumentValues($argumentName, CompletionContext $context): array {
if ($argumentName === 'app') {
- return \OC_App::getAllApps();
+ return $this->appManager->getAllAppsInAppsFolders();
}
return [];
}