public function hostingService::delete in Hosting 6.2
Same name and namespace in other branches
- 7.4 server/hosting_server.service.inc \hostingService::delete()
- 7.3 server/hosting_server.service.inc \hostingService::delete()
6 calls to hostingService::delete()
- hostingService_db_mysql::delete in db_server/
hosting_db_server.service.inc - hostingService_dns_master::delete in dns/
hosting_dns.service.inc - hostingService_example_basic::delete in example/
hosting_example.service.inc - Delete a record from the database, based on server node.
- hostingService_http_cluster::delete in web_cluster/
hosting_web_cluster.service.inc - hostingService_http_pack::delete in web_pack/
hosting_web_pack.service.inc
6 methods override hostingService::delete()
- hostingService_db_mysql::delete in db_server/
hosting_db_server.service.inc - hostingService_dns_master::delete in dns/
hosting_dns.service.inc - hostingService_example_basic::delete in example/
hosting_example.service.inc - Delete a record from the database, based on server node.
- hostingService_http_cluster::delete in web_cluster/
hosting_web_cluster.service.inc - hostingService_http_pack::delete in web_pack/
hosting_web_pack.service.inc
File
- server/
hosting_server.service.inc, line 65
Class
Code
public function delete() {
db_query("DELETE FROM {hosting_service} WHERE service = '%s' AND nid=%d", $this->service, $this->server->nid);
}