use OC\Files\Storage\Wrapper\Encryption;
use OC\Files\View;
use OC\Memcache\ArrayCache;
+use OCP\Encryption\IFile;
+ use OCP\Encryption\Keys\IStorage as EncryptionKeysStorage;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage\IDisableEncryptionStorage;
use OCP\Files\Storage\IStorage;
$user = \OC::$server->getUserSession()->getUser();
$mountManager = Filesystem::getMountManager();
$uid = $user ? $user->getUID() : null;
- $fileHelper = \OC::$server->getEncryptionFilesHelper();
+ $fileHelper = \OC::$server->get(IFile::class);
- $keyStorage = \OC::$server->getEncryptionKeyStorage();
+ $keyStorage = \OC::$server->get(EncryptionKeysStorage::class);
$util = new Util(
new View(),