Use capped cache for encryption's user access list

This commit is contained in:
Vincent Petry 2016-06-13 17:47:57 +02:00
parent d41d5c48f0
commit 9e3cf794ea
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}