/**
* @return boolean
*/
public function delete()
{
if (!$this->exists()) {
return false;
}
// Unlink articles
ArticleAuthor::OnAuthorTypeDelete($this->getId());
// Unlink authors
AuthorAssignedType::OnAuthorTypeDelete($this->getId());
// Delete this author type
$authorType = $this->getName();
$result = parent::delete();
return $result;
}