Skip to content
Snippets Groups Projects
Commit 097b6b8b authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: only read config from database, if configID is given. Not what we want...

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
parent bb6bad6b
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment