summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index b023534ae21..9660597b39d 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -193,7 +193,8 @@ class Server extends SimpleContainer implements IServerContainer {
});
$this->registerService('MemCacheFactory', function ($c) {
$instanceId = \OC_Util::getInstanceId();
- return new \OC\Memcache\Factory($instanceId);
+ $logger = $c['Logger'];
+ return new \OC\Memcache\Factory($instanceId, $logger);
});
$this->registerService('ActivityManager', function ($c) {
return new ActivityManager();