Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Refactor OC\Server::getEncryptionKeyStorage
Signed-off-by: Andrew Summers <[email protected]>
  • Loading branch information
summersab authored and skjnldsv committed Mar 15, 2024
commit 6cc147c20cd52e3e1637e8c76fd18d866470ab58
3 changes: 2 additions & 1 deletion lib/private/Encryption/EncryptionWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use OC\Files\Storage\Wrapper\Encryption;
use OC\Files\View;
use OC\Memcache\ArrayCache;
use OCP\Encryption\Keys\IStorage;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage\IDisableEncryptionStorage;
use OCP\Files\Storage\IStorage;
Expand Down Expand Up @@ -82,7 +83,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(IStorage::class);

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