Revert accidentally commited unneded changes
This commit is contained in:
parent
6db80f1e74
commit
3b8b5b0022
|
@ -994,11 +994,7 @@ class LdapConnection implements Selectable, Inspectable
|
||||||
if (! $this->validateCertificate) {
|
if (! $this->validateCertificate) {
|
||||||
$this->logInfo('Skipping certificate validation');
|
$this->logInfo('Skipping certificate validation');
|
||||||
}
|
}
|
||||||
|
if (! ldap_start_tls($ds)) {
|
||||||
$ret = ldap_start_tls($ds);
|
|
||||||
var_dump($ret);
|
|
||||||
if ($ret) {
|
|
||||||
} else {
|
|
||||||
throw new LdapException('LDAP STARTTLS failed: %s', ldap_error($ds));
|
throw new LdapException('LDAP STARTTLS failed: %s', ldap_error($ds));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue