You are here

function hostingService_db_mysql::delete_revision in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 db_server/hosting_db_server.service.inc \hostingService_db_mysql::delete_revision()
  2. 7.3 db_server/hosting_db_server.service.inc \hostingService_db_mysql::delete_revision()

Overrides hostingService::delete_revision

File

db_server/hosting_db_server.service.inc, line 74
Provide the hosting serivce classes for database integration.

Class

hostingService_db_mysql
A MySQL specific db service implementation class.

Code

function delete_revision() {
  parent::delete_revision();
  db_delete('hosting_db_server')
    ->condition('vid', $this->server->vid)
    ->execute();
}