Skip to content

Commit

Permalink
Merge pull request #40133 from summersab/refactor/OC-Server-getEncryp…
Browse files Browse the repository at this point in the history
…tionKeyStorage
  • Loading branch information
skjnldsv authored Jun 4, 2024
2 parents 7ac1e2f + deaaa4b commit 57cd95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/private/Encryption/EncryptionWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use OC\Files\Storage\Wrapper\Encryption;
use OC\Files\View;
use OC\Memcache\ArrayCache;
use OCP\Encryption\Keys\IStorage as EncryptionKeysStorage;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage\IDisableEncryptionStorage;
use OCP\Files\Storage\IStorage;
Expand Down Expand Up @@ -65,7 +66,7 @@ public function wrapStorage(string $mountPoint, IStorage $storage, IMountPoint $
$mountManager = Filesystem::getMountManager();
$uid = $user ? $user->getUID() : null;
$fileHelper = \OC::$server->getEncryptionFilesHelper();
$keyStorage = \OC::$server->getEncryptionKeyStorage();
$keyStorage = \OC::$server->get(EncryptionKeysStorage::class);

$util = new Util(
new View(),
Expand Down

0 comments on commit 57cd95f

Please sign in to comment.