diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-02-10 11:25:50 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-02-13 10:19:19 +0100 |
commit | a3685551f7188e7d2d0c7532b821ec2c3bd40583 (patch) | |
tree | 43aa4f911e53a66529152cb2ac44e017f0ef9f31 /apps/files_sharing/lib/Controller | |
parent | cffd2c8d09e9e9198aed4754478c18f4c8b7c201 (diff) | |
download | nextcloud-server-a3685551f7188e7d2d0c7532b821ec2c3bd40583.tar.gz nextcloud-server-a3685551f7188e7d2d0c7532b821ec2c3bd40583.zip |
fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareAPIController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index f6fc584529b..2e21f90943f 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -408,7 +408,7 @@ class ShareAPIController extends OCSController { private function retrieveFederatedDisplayName(array $userIds, bool $cacheOnly = false): array { // check if gss is enabled and available if (count($userIds) === 0 - || !$this->appManager->isInstalled('globalsiteselector') + || !$this->appManager->isEnabledForAnyone('globalsiteselector') || !class_exists('\OCA\GlobalSiteSelector\Service\SlaveService')) { return []; } |