You are here

function LDAPInterface::rename_entry in LDAP integration 6

File

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

Class

LDAPInterface
@file LDAPInterface class definition.

Code

function rename_entry($dn, $newrdn, $newparent, $deleteoldrdn) {
  set_error_handler(array(
    'LDAPInterface',
    'void_error_handler',
  ));
  $ret = ldap_rename($this->connection, $dn, $newrdn, $newparent, $deleteoldrdn);
  restore_error_handler();
  return $ret;
}