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) {
|
||||
$this->logInfo('Skipping certificate validation');
|
||||
}
|
||||
|
||||
$ret = ldap_start_tls($ds);
|
||||
var_dump($ret);
|
||||
if ($ret) {
|
||||
} else {
|
||||
if (! ldap_start_tls($ds)) {
|
||||
throw new LdapException('LDAP STARTTLS failed: %s', ldap_error($ds));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue