You are here

function LDAPInterface::disconnect in LDAP integration 5.2

Same name and namespace in other branches
  1. 5 ldap_integration/LDAPInterface.php \LDAPInterface::disconnect()
  2. 6 includes/LDAPInterface.inc \LDAPInterface::disconnect()
1 call to LDAPInterface::disconnect()
LDAPInterface::connect in ldap_integration/LDAPInterface.php

File

ldap_integration/LDAPInterface.php, line 166

Class

LDAPInterface

Code

function disconnect() {
  if ($this->connection) {
    ldap_unbind($this->connection);
    $this->connection = NULL;
  }
}