summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-09 13:54:50 +0100
committerRobin Appelman <icewind@owncloud.com>2014-01-09 13:54:50 +0100
commitd50c7391d8e78c9555b073fb9ccc6a91d5da34bc (patch)
tree0aa9b6ea1c41dec5636429a7eed883e2fe05ef7a /apps/user_ldap
parent5a2a0426a6c01cffe88c80e0529931a323c699d9 (diff)
downloadnextcloud-server-d50c7391d8e78c9555b073fb9ccc6a91d5da34bc.tar.gz
nextcloud-server-d50c7391d8e78c9555b073fb9ccc6a91d5da34bc.zip
Use $server->getMemCacheFactory() in ldap connection
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php
index 14dfaa1174d..92168a09ffa 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -51,7 +51,7 @@ class Connection extends LDAPUtility {
$this->configPrefix = $configPrefix;
$this->configID = $configID;
$this->configuration = new Configuration($configPrefix);
- $memcache = new \OC\Memcache\Factory();
+ $memcache = \OC::$server->getMemCacheFactory();
if($memcache->isAvailable()) {
$this->cache = $memcache->create();
} else {