Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Files/TemplateLoader.php')
-rw-r--r--lib/Files/TemplateLoader.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Files/TemplateLoader.php b/lib/Files/TemplateLoader.php
index 7bc38b472..185e8cb13 100644
--- a/lib/Files/TemplateLoader.php
+++ b/lib/Files/TemplateLoader.php
@@ -32,6 +32,7 @@ use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\EventDispatcher\IEventListener;
use OCP\Files\IRootFolder;
+use OCP\ICacheFactory;
use OCP\IConfig;
use OCP\IInitialStateService;
use OCP\IUser;
@@ -53,12 +54,14 @@ class TemplateLoader implements IEventListener {
private $userSession;
public function __construct(IInitialStateService $initialStateService,
+ ICacheFactory $memcacheFactory,
Config $talkConfig,
IConfig $serverConfig,
IAppManager $appManager,
IRootFolder $rootFolder,
IUserSession $userSession) {
$this->initialStateService = $initialStateService;
+ $this->memcacheFactory = $memcacheFactory;
$this->talkConfig = $talkConfig;
$this->serverConfig = $serverConfig;
$this->appManager = $appManager;