You are here

function hosting_ssl_uninstall in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 web_server/ssl/hosting_ssl.install \hosting_ssl_uninstall()
  2. 7.4 web_server/ssl/hosting_ssl.install \hosting_ssl_uninstall()

Remove SSL service records from hosting_service table.

File

web_server/ssl/hosting_ssl.install, line 123
Define the database schema and uninstall function for the hosting_ssl module.

Code

function hosting_ssl_uninstall() {
  db_delete('hosting_service')
    ->condition('service', 'http')
    ->condition('type', 'apache_ssl')
    ->execute();
  db_delete('hosting_service')
    ->condition('service', 'http')
    ->condition('type', 'nginx_ssl')
    ->execute();
}