summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-02-04 05:38:53 -0800
committericewind1991 <robin@icewind.nl>2014-02-04 05:38:53 -0800
commita27529709b3c666b89fa7e435c400f9937ee2efa (patch)
tree4749f7c85f2e305c1b39f7e224cc4bc786f28f25 /apps/user_ldap
parente266e50699c43b26b67701f0e33a081ee6978425 (diff)
parent1ab7ca0a19d5f3984e87f99945d81aecffbbae19 (diff)
downloadnextcloud-server-a27529709b3c666b89fa7e435c400f9937ee2efa.tar.gz
nextcloud-server-a27529709b3c666b89fa7e435c400f9937ee2efa.zip
Merge pull request #6647 from owncloud/memcache-public
Add Memcache to the public api
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 c4e4efd0483..7fbabda7106 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -52,7 +52,7 @@ class Connection extends LDAPUtility {
$this->configID = $configID;
$this->configuration = new Configuration($configPrefix,
!is_null($configID));
- $memcache = new \OC\Memcache\Factory();
+ $memcache = \OC::$server->getMemCacheFactory();
if($memcache->isAvailable()) {
$this->cache = $memcache->create();
} else {