diff options
Diffstat (limited to 'apps/user_ldap/lib/wizard.php')
-rw-r--r-- | apps/user_ldap/lib/wizard.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php index 84b397cf5e8..348a871e2b3 100644 --- a/apps/user_ldap/lib/wizard.php +++ b/apps/user_ldap/lib/wizard.php @@ -432,7 +432,6 @@ class Wizard extends LDAPUtility { $this->configuration->setConfiguration($config); \OCP\Util::writeLog('user_ldap', 'Wiz: detected Port '. $p, \OCP\Util::DEBUG); $this->result->addChange('ldap_port', $p); - $this->result->addChange('ldap_tls', intval($t)); return $this->result; } } @@ -1001,7 +1000,7 @@ class Wizard extends LDAPUtility { private function getConnection() { if(!is_null($this->cr)) { - return $cr; + return $this->cr; } $cr = $this->ldap->connect( $this->configuration->ldapHost.':'.$this->configuration->ldapPort, |