function ldap_help_disconnect in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 7.2 ldap_help/ldap_test_script/functions.inc \ldap_help_disconnect()
- 7 ldap_help/ldap_test_script/functions.inc \ldap_help_disconnect()
Disconnect (unbind) from an active LDAP server.
File
- ldap_help/
ldap_test_script/ functions.inc, line 165
Code
function ldap_help_disconnect(&$con) {
if (!$con) {
// never bound or not currently bound, so no need to disconnect
}
else {
ldap_help_disconnect($con);
$con = NULL;
}
}