You are here

public function hostingService::delete in Hostmaster (Aegir) 6

6 calls to hostingService::delete()
hostingService_db_mysql::delete in modules/hosting/db_server/hosting_db_server.service.inc
hostingService_dns_master::delete in modules/hosting/dns/hosting_dns.service.inc
hostingService_example_basic::delete in modules/hosting/example/hosting_example.service.inc
Delete a record from the database, based on server node.
hostingService_http_cluster::delete in modules/hosting/web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::delete in modules/hosting/web_pack/hosting_web_pack.service.inc

... See full list

6 methods override hostingService::delete()
hostingService_db_mysql::delete in modules/hosting/db_server/hosting_db_server.service.inc
hostingService_dns_master::delete in modules/hosting/dns/hosting_dns.service.inc
hostingService_example_basic::delete in modules/hosting/example/hosting_example.service.inc
Delete a record from the database, based on server node.
hostingService_http_cluster::delete in modules/hosting/web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::delete in modules/hosting/web_pack/hosting_web_pack.service.inc

... See full list

File

modules/hosting/server/hosting_server.service.inc, line 65

Class

hostingService

Code

public function delete() {
  db_query("DELETE FROM {hosting_service} WHERE service = '%s' AND nid=%d", $this->service, $this->server->nid);
}