You are here

public function hostingService::delete in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 server/hosting_server.service.inc \hostingService::delete()
  2. 7.3 server/hosting_server.service.inc \hostingService::delete()
5 calls to hostingService::delete()
hostingService_db_mysql::delete in db_server/hosting_db_server.service.inc
hostingService_example_basic::delete in example/example_service/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
hostingService_http_ssl::delete in web_server/ssl/hosting_ssl.service.inc
5 methods override hostingService::delete()
hostingService_db_mysql::delete in db_server/hosting_db_server.service.inc
hostingService_example_basic::delete in example/example_service/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
hostingService_http_ssl::delete in web_server/ssl/hosting_ssl.service.inc

File

server/hosting_server.service.inc, line 112
Define the base Hosting service class.

Class

hostingService
@file Define the base Hosting service class.

Code

public function delete() {
  db_delete('hosting_service')
    ->condition('service', $this->service)
    ->condition('nid', $this->server->nid)
    ->execute();
}