diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-13 17:47:57 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-13 17:47:57 +0200 |
commit | 9e3cf794ea9af6bd0138e48ca9e1cb68a9157019 (patch) | |
tree | e30deb2f3ba1590c191091efce13adc0ad187ca9 | |
parent | d41d5c48f01512b63eea25f1d7b8d8e508096ac5 (diff) | |
download | nextcloud-server-9e3cf794ea9af6bd0138e48ca9e1cb68a9157019.tar.gz nextcloud-server-9e3cf794ea9af6bd0138e48ca9e1cb68a9157019.zip |
Use capped cache for encryption's user access list
-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 ec55c2cea00..bd045c20294 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(); } |