From 2c8d410f674b74d33ce187e7aa3e20ffbfc5d26a Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Fri, 15 Mar 2024 14:51:43 +0100 Subject: [PATCH] fix: php-cs Signed-off-by: skjnldsv --- lib/public/Util.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/public/Util.php b/lib/public/Util.php index 87b0700f12b..11229567188 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -49,7 +49,6 @@ namespace OCP; use bantu\IniGetWrapper\IniGetWrapper; use OC\AppScriptDependency; use OC\AppScriptSort; -use OCP\Share\IManager as IShareManager; use OCP\Share\IManager; use Psr\Container\ContainerExceptionInterface; use Psr\Log\LoggerInterface; @@ -115,7 +114,7 @@ class Util { */ public static function isSharingDisabledForUser() { if (self::$shareManager === null) { - self::$shareManager = \OC::$server->get(IShareManager::class); + self::$shareManager = \OC::$server->get(IManager::class); } $user = \OC::$server->getUserSession()->getUser();