/**
  * Delete Domain Service
  *
  * Delete DomainServiceDBO from database
  */
 function delete_domain_service()
 {
     $DB = DBConnection::getDBConnection();
     $tld = $DB->quote_smart($this->get['dservice']->getTLD());
     // Delete Domain Service DBO
     delete_DomainServiceDBO($this->get['dservice']);
     // Success - go back to web domain services page
     $this->setMessage(array("type" => "[DOMAIN_SERVICE_DELETED]", "args" => array($this->session['domain_service_dbo']->getTLD())));
     $this->gotoPage("services_domain_services");
 }
 /**
  * Delete Domain Service
  *
  * Delete DomainServiceDBO from database
  */
 function removeDomainService()
 {
     foreach ($this->post['services'] as $dbo) {
         // Delete Domain Service DBO
         delete_DomainServiceDBO($dbo);
     }
     // Success - go back to web domain services page
     $this->setMessage(array("type" => "[DOMAIN_SERVICES_DELETED]"));
     $this->gotoPage("services_domain_services");
 }