mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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…
x
Reference in New Issue
Block a user