src/Connections/Ldap.php
public function delete($dn)
    {
        if ($this->suppressErrors) {
            return @ldap_delete($this->getConnection(), $dn);
        }

        return ldap_delete($this->getConnection(), $dn);
    }
public function delete($dn)
    {
        if ($this->suppressErrors) {
            return @ldap_delete($this->getConnection(), $dn);
        }

        return ldap_delete($this->getConnection(), $dn);
    }
public function delete ( $ dn ) { if ( $ this -> suppressErrors ) { return @ ldap_delete ( $ this -> getConnection ( ) , $ dn ) ; } return ldap_delete ( $ this -> getConnection ( ) , $ dn ) ; }
Deletes an entry on the current LDAP directory.

@param string $dn

@return bool
Deletes an entry on the current LDAP directory .