You are here

function LDAPInterface::delete_entry in LDAP integration 6

File

includes/LDAPInterface.inc, line 312
LDAPInterface class definition.

Class

LDAPInterface
@file LDAPInterface class definition.

Code

function delete_entry($dn) {
  set_error_handler(array(
    'LDAPInterface',
    'void_error_handler',
  ));
  $ret = ldap_delete($this->connection, $dn);
  restore_error_handler();
  return $ret;
}