aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-12-15 10:48:48 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 20:57:11 +0100
commit5ce943aa8501d6a7240175a934858c26f267f7ca (patch)
tree261b4c10faa51d883f8dd31b67c8bc515ce4de17 /apps/user_ldap
parentcb5433062fab266c595f7ebd96a7f3f14e56034d (diff)
downloadnextcloud-server-5ce943aa8501d6a7240175a934858c26f267f7ca.tar.gz
nextcloud-server-5ce943aa8501d6a7240175a934858c26f267f7ca.zip
don't use deprecated method for requesting memcache
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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 1dcf9b72d7c..bde489e2710 100644
--- a/apps/user_ldap/lib/Connection.php
+++ b/apps/user_ldap/lib/Connection.php
@@ -100,7 +100,7 @@ class Connection extends LDAPUtility {
!is_null($configID));
$memcache = \OC::$server->getMemCacheFactory();
if($memcache->isAvailable()) {
- $this->cache = $memcache->create();
+ $this->cache = $memcache->createDistributed();
}
$helper = new Helper(\OC::$server->getConfig());
$this->doNotValidate = !in_array($this->configPrefix,