diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-15 16:26:52 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-05-12 11:40:20 +0300 |
commit | bbcb75c589c9a2f52a4fa035fa76ec0a82e9eee8 (patch) | |
tree | a1b0a04506c354c281149be892ec4540233555fc /lib/PublicShareAuth | |
parent | bf5489fefe41e66d7fdedee6a70b4f7d53fed354 (diff) |
Require a distributed MemCache
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/PublicShareAuth')
-rw-r--r-- | lib/PublicShareAuth/TemplateLoader.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicShareAuth/TemplateLoader.php b/lib/PublicShareAuth/TemplateLoader.php index 9aeccf565..1e7e0ab58 100644 --- a/lib/PublicShareAuth/TemplateLoader.php +++ b/lib/PublicShareAuth/TemplateLoader.php @@ -26,6 +26,7 @@ namespace OCA\Talk\PublicShareAuth; use OCA\Talk\Config; use OCA\Talk\TInitialState; use OCP\EventDispatcher\IEventDispatcher; +use OCP\ICacheFactory; use OCP\IConfig; use OCP\IInitialStateService; use OCP\Share\IShare; @@ -44,9 +45,11 @@ class TemplateLoader { use TInitialState; public function __construct(IInitialStateService $initialStateService, + ICacheFactory $memcacheFactory, Config $talkConfig, IConfig $serverConfig) { $this->initialStateService = $initialStateService; + $this->memcacheFactory = $memcacheFactory; $this->talkConfig = $talkConfig; $this->serverConfig = $serverConfig; } |