function ldap_help_disconnect in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_help/ldap_test_script/functions.inc \ldap_help_disconnect()
- 7.2 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 158
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;
}
}