/**
  * Delete Hosting Service
  */
 protected function deleteService()
 {
     foreach ($this->post['hosting_services'] as $serviceDBO) {
         delete_HostingServiceDBO($serviceDBO);
     }
     $this->setMessage(array("type" => "[HOSTING_SERVICES_DELETED]"));
     $this->reload();
 }
 /**
  * Delete Hosting
  *
  * Delete HostingServiceDBO from database
  */
 function delete_hosting()
 {
     // Delete Hosting Service DBO
     delete_HostingServiceDBO($this->get['hservice']);
     // Success - go back to web hosting services page
     $this->setMessage(array("type" => "[HOSTING_SERVICE_DELETED]", "args" => array($this->session['hosting_dbo']->getTitle())));
     $this->gotoPage("services_web_hosting");
 }