summaryrefslogtreecommitdiffstats
path: root/lib/Controller/PageController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-15 15:26:52 +0200
committerJoas Schilling <coding@schilljs.com>2020-05-12 10:40:20 +0200
commitbbcb75c589c9a2f52a4fa035fa76ec0a82e9eee8 (patch)
treea1b0a04506c354c281149be892ec4540233555fc /lib/Controller/PageController.php
parentbf5489fefe41e66d7fdedee6a70b4f7d53fed354 (diff)
Require a distributed MemCache
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r--lib/Controller/PageController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index e13f3ff70..e7174b249 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -45,6 +45,7 @@ use OCP\AppFramework\Http\Template\PublicTemplateResponse;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\IRootFolder;
use OCP\Files\NotPermittedException;
+use OCP\ICacheFactory;
use OCP\IConfig;
use OCP\IInitialStateService;
use OCP\ILogger;
@@ -95,6 +96,7 @@ class PageController extends Controller {
INotificationManager $notificationManager,
IAppManager $appManager,
IInitialStateService $initialStateService,
+ ICacheFactory $memcacheFactory,
IRootFolder $rootFolder,
Config $talkConfig,
IConfig $serverConfig) {
@@ -110,6 +112,7 @@ class PageController extends Controller {
$this->notificationManager = $notificationManager;
$this->appManager = $appManager;
$this->initialStateService = $initialStateService;
+ $this->memcacheFactory = $memcacheFactory;
$this->rootFolder = $rootFolder;
$this->talkConfig = $talkConfig;
$this->serverConfig = $serverConfig;