From deaaa4beb6991a201bdd8cd65f406f43c040953b Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6?= Date: Thu, 30 May 2024 14:42:36 +0200 Subject: [PATCH] chore: adjust conflicting php class name usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Co-authored-by: Benjamin Gaussorgues Signed-off-by: John Molakvoæ --- lib/private/Encryption/EncryptionWrapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Encryption/EncryptionWrapper.php b/lib/private/Encryption/EncryptionWrapper.php index 0082248311d..ffc92eef90e 100644 --- a/lib/private/Encryption/EncryptionWrapper.php +++ b/lib/private/Encryption/EncryptionWrapper.php @@ -28,7 +28,7 @@ use OC\Files\Filesystem; use OC\Files\Storage\Wrapper\Encryption; use OC\Files\View; use OC\Memcache\ArrayCache; -use OCP\Encryption\Keys\IStorage; +use OCP\Encryption\Keys\IStorage as EncryptionKeysStorage; use OCP\Files\Mount\IMountPoint; use OCP\Files\Storage\IDisableEncryptionStorage; use OCP\Files\Storage\IStorage; @@ -83,7 +83,7 @@ class EncryptionWrapper { $mountManager = Filesystem::getMountManager(); $uid = $user ? $user->getUID() : null; $fileHelper = \OC::$server->getEncryptionFilesHelper(); - $keyStorage = \OC::$server->get(IStorage::class); + $keyStorage = \OC::$server->get(EncryptionKeysStorage::class); $util = new Util( new View(), -- 2.39.5