public function deleteAttribute($attribute)
{
// We need to pass in an empty array as the value
// for the attribute so AD knows to remove it.
if ($this->exists && $this->query->getConnection()->modDelete($this->getDn(), [$attribute => []])) {
// If the models attribute was successfully deleted, we'll
// resynchronize the models raw attributes.
$this->syncRaw();
return true;
}
return false;
}