function LDAPInterface::disconnect in LDAP integration 6
Same name and namespace in other branches
- 5.2 ldap_integration/LDAPInterface.php \LDAPInterface::disconnect()
- 5 ldap_integration/LDAPInterface.php \LDAPInterface::disconnect()
1 call to LDAPInterface::disconnect()
- LDAPInterface::connect in includes/
LDAPInterface.inc
File
- includes/
LDAPInterface.inc, line 206 - LDAPInterface class definition.
Class
- LDAPInterface
- @file LDAPInterface class definition.
Code
function disconnect() {
if ($this->connection) {
ldap_unbind($this->connection);
$this->connection = NULL;
}
}