diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-16 20:29:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 20:29:39 +0100 |
commit | 9fee1d9851eeef423ba3e924ecc080a1b0562636 (patch) | |
tree | 01776ab5b768ea79691a01f55c3c9bdab42a0cb9 /apps | |
parent | 29f6f15cf3c63df07b81d7c97fe547f27a3906b3 (diff) | |
parent | 170660840beeff175a79fd738b411be8f065f381 (diff) | |
download | nextcloud-server-9fee1d9851eeef423ba3e924ecc080a1b0562636.tar.gz nextcloud-server-9fee1d9851eeef423ba3e924ecc080a1b0562636.zip |
Merge pull request #18431 from nextcloud/prov-api-query-application
query FederatedFileSharing Application instead of creating it
Diffstat (limited to 'apps')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 3b03f446717..7f239269262 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -489,7 +489,7 @@ class UsersController extends AUserData { } if ($this->appManager->isEnabledForUser('federatedfilesharing')) { - $federatedFileSharing = new \OCA\FederatedFileSharing\AppInfo\Application(); + $federatedFileSharing = \OC::$server->query(\OCA\FederatedFileSharing\AppInfo\Application::class); $shareProvider = $federatedFileSharing->getFederatedShareProvider(); if ($shareProvider->isLookupServerUploadEnabled()) { $permittedFields[] = AccountManager::PROPERTY_PHONE; |