Merge pull request #25084 from owncloud/stable9-enc-cappedcache-getaccesslist

[stable9] Use capped cache for encryption's user access list
This commit is contained in:
Vincent Petry 2016-06-15 10:42:22 +02:00 committed by GitHub
commit c5a60c3ae0
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@
namespace OC\Encryption; namespace OC\Encryption;
use OC\Cache\CappedMemoryCache;
class File implements \OCP\Encryption\IFile { class File implements \OCP\Encryption\IFile {
/** @var Util */ /** @var Util */
@ -36,6 +38,7 @@ class File implements \OCP\Encryption\IFile {
public function __construct(Util $util) { public function __construct(Util $util) {
$this->util = $util; $this->util = $util;
$this->cache = new CappedMemoryCache();
} }