diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-03-15 16:05:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 16:05:59 +0100 |
commit | 5a1ed2d9eac523c3c530baff5aa933964c0f67d0 (patch) | |
tree | e6e458418c7ec94bad5dbd985b0dc5f27b73f29e /lib/public | |
parent | e0faca6170e9bf39bfe34fcac225d4ae2ae8c3b7 (diff) | |
parent | 2c8d410f674b74d33ce187e7aa3e20ffbfc5d26a (diff) | |
download | nextcloud-server-5a1ed2d9eac523c3c530baff5aa933964c0f67d0.tar.gz nextcloud-server-5a1ed2d9eac523c3c530baff5aa933964c0f67d0.zip |
Merge pull request #40131 from summersab/refactor/OC-Server-getShareManager
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php index e3f394c1ca9..11229567188 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -110,11 +110,11 @@ class Util { * * @return boolean * @since 7.0.0 - * @deprecated 9.1.0 Use \OC::$server->getShareManager()->sharingDisabledForUser + * @deprecated 9.1.0 Use \OC::$server->get(\OCP\Share\IManager::class)->sharingDisabledForUser */ public static function isSharingDisabledForUser() { if (self::$shareManager === null) { - self::$shareManager = \OC::$server->getShareManager(); + self::$shareManager = \OC::$server->get(IManager::class); } $user = \OC::$server->getUserSession()->getUser(); |