You are here

function LDAPInterface::deleteAttribute in LDAP integration 6

File

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

Class

LDAPInterface
@file LDAPInterface class definition.

Code

function deleteAttribute($dn, $attribute) {
  ldap_mod_del($this->connection, $dn, array(
    $attribute => array(),
  ));
}