LDAP: only read config from database, if configID is given. Not what we want to do when on-the-fly-testing settings from the admin page
This commit is contained in:
parent
bb6bad6b3c
commit
097b6b8be9
|
@ -50,7 +50,8 @@ class Connection extends LDAPUtility {
|
||||||
parent::__construct($ldap);
|
parent::__construct($ldap);
|
||||||
$this->configPrefix = $configPrefix;
|
$this->configPrefix = $configPrefix;
|
||||||
$this->configID = $configID;
|
$this->configID = $configID;
|
||||||
$this->configuration = new Configuration($configPrefix);
|
$this->configuration = new Configuration($configPrefix,
|
||||||
|
!is_null($configID));
|
||||||
$memcache = new \OC\Memcache\Factory();
|
$memcache = new \OC\Memcache\Factory();
|
||||||
if($memcache->isAvailable()) {
|
if($memcache->isAvailable()) {
|
||||||
$this->cache = $memcache->create();
|
$this->cache = $memcache->create();
|
||||||
|
|
Loading…
Reference in New Issue