mirror of
https://github.com/nextcloud/server.git
synced 2026-06-16 20:19:48 -04:00
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
1e407482be
commit
3d81009347
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ class Connection extends LDAPUtility {
|
|||
parent::__construct($ldap);
|
||||
$this->configPrefix = $configPrefix;
|
||||
$this->configID = $configID;
|
||||
$this->configuration = new Configuration($configPrefix);
|
||||
$this->configuration = new Configuration($configPrefix,
|
||||
!is_null($configID));
|
||||
$memcache = new \OC\Memcache\Factory();
|
||||
if($memcache->isAvailable()) {
|
||||
$this->cache = $memcache->create();
|
||||
|
|
|
|||
Loading…
Reference in a new issue