public function delete($id = null)
{
if ($this->type == Scalr_Account_User::TYPE_ACCOUNT_OWNER) {
throw new Exception('You cannot remove Account Owner');
}
parent::delete();
$this->db->Execute('DELETE FROM `account_team_users` WHERE user_id = ?', array($this->id));
$this->db->Execute('DELETE FROM `account_user_settings` WHERE user_id = ?', array($this->id));
}