src/LdapClient.php
public function delete($dn)
	{
		if (!$this->isBound || !$this->isConnected())
		{
			return false;
		}

		return ldap_delete($this->resource, $dn);
	}
public function delete($dn)
	{
		if (!$this->isBound || !$this->isConnected())
		{
			return false;
		}

		return ldap_delete($this->resource, $dn);
	}
public function delete ( $ dn ) { if ( ! $ this -> isBound || ! $ this -> isConnected ( ) ) { return false ; } return ldap_delete ( $ this -> resource , $ dn ) ; }
Delete an entry from a directory

@param   string  $dn  The DN of the object you want to delete

@return  boolean

@since   1.0
Delete an entry from a directory