diff options
Diffstat (limited to 'lib/private/Encryption')
-rw-r--r-- | lib/private/Encryption/File.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Encryption/File.php b/lib/private/Encryption/File.php index 2bd9fb02100..3573ff19c6e 100644 --- a/lib/private/Encryption/File.php +++ b/lib/private/Encryption/File.php @@ -22,6 +22,8 @@ namespace OC\Encryption; +use OC\Cache\CappedMemoryCache; + class File implements \OCP\Encryption\IFile { /** @var Util */ @@ -36,6 +38,7 @@ class File implements \OCP\Encryption\IFile { public function __construct(Util $util) { $this->util = $util; + $this->cache = new CappedMemoryCache(); } |