You are here

function deleteAttribute in Lightweight Directory Access Protocol (LDAP) 6

File

includes/ldap.attribute.inc, line 161
Attribute Class and Manipulation Functions

Code

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