mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
remove unused variables
This commit is contained in:
parent
e4b7c6ef10
commit
bb6bad6b3c
1 changed files with 2 additions and 2 deletions
|
|
@ -792,8 +792,8 @@ class Wizard extends LDAPUtility {
|
|||
|
||||
\OCP\Util::writeLog('user_ldap', 'Wiz: Setting LDAP Options ', \OCP\Util::DEBUG);
|
||||
//set LDAP options
|
||||
$a = $this->ldap->setOption($cr, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||
$c = $this->ldap->setOption($cr, LDAP_OPT_NETWORK_TIMEOUT, self::LDAP_NW_TIMEOUT);
|
||||
$this->ldap->setOption($cr, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||
$this->ldap->setOption($cr, LDAP_OPT_NETWORK_TIMEOUT, self::LDAP_NW_TIMEOUT);
|
||||
if($tls) {
|
||||
$isTlsWorking = @$this->ldap->startTls($cr);
|
||||
if(!$isTlsWorking) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue