You are here

public function hostingService::delete_revision in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 server/hosting_server.service.inc \hostingService::delete_revision()
  2. 7.4 server/hosting_server.service.inc \hostingService::delete_revision()
7 calls to hostingService::delete_revision()
hostingService::update in server/hosting_server.service.inc
hostingService_db_mysql::delete_revision in db_server/hosting_db_server.service.inc
hostingService_db_mysql::update in db_server/hosting_db_server.service.inc
hostingService_example_basic::delete_revision in example/example_service/hosting_example.service.inc
Delete a specific reivision from the database.
hostingService_http_cluster::delete_revision in web_cluster/hosting_web_cluster.service.inc

... See full list

5 methods override hostingService::delete_revision()
hostingService_db_mysql::delete_revision in db_server/hosting_db_server.service.inc
hostingService_example_basic::delete_revision in example/example_service/hosting_example.service.inc
Delete a specific reivision from the database.
hostingService_http_cluster::delete_revision in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::delete_revision in web_pack/hosting_web_pack.service.inc
hostingService_http_ssl::delete_revision in web_server/ssl/hosting_ssl.service.inc

File

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

Class

hostingService
@file Define the base Hosting service class.

Code

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