Browse Source
Merge pull request #18431 from nextcloud/prov-api-query-application
query FederatedFileSharing Application instead of creating it
pull/18438/head
Roeland Jago Douma
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
|