Use capped cache for encryption's user access list

This commit is contained in:
Vincent Petry 2016-06-10 13:02:41 +02:00
parent 68c3b23e04
commit 77caa0e913
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();
}