use OC\Files\Storage\Wrapper\Encryption;
use OC\Files\View;
use OC\Memcache\ArrayCache;
+use OCP\Encryption\IFile;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage;
use Psr\Log\LoggerInterface;
$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();
$util = new Util(
use OC\Files\Filesystem;
use OC\Files\View;
use OC\Files\SetupManager;
+use OCP\Encryption\IFile;
use Psr\Log\LoggerInterface;
class HookManager {
\OC::$server->getConfig()),
Filesystem::getMountManager(),
\OC::$server->getEncryptionManager(),
- \OC::$server->getEncryptionFilesHelper(),
+ \OC::$server->get(IFile::class),
\OC::$server->get(LoggerInterface::class),
$uid
);