don't use deprecated method for requesting memcache

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-12-15 10:48:48 +01:00 committed by Roeland Jago Douma
parent cb5433062f
commit 5ce943aa85
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -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,