]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore: adjust conflicting php class name usage 40133/head
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>
Thu, 30 May 2024 12:42:36 +0000 (14:42 +0200)
committerGitHub <noreply@github.com>
Thu, 30 May 2024 12:42:36 +0000 (14:42 +0200)
Co-authored-by: Benjamin Gaussorgues <github-fa3ie@altahrim.net>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
lib/private/Encryption/EncryptionWrapper.php

index 0082248311dec5b6c0d3fed91db6c2fde6556c31..ffc92eef90e127ffae73f34ccb2ac368b9cbc147 100644 (file)
@@ -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(),