You are here

function hosting_https_uninstall in Aegir HTTPS 7.3

Remove HTTPS service records from hosting_service table.

File

./hosting_https.install, line 81
Define the database schema and uninstall function for the hosting_https module.

Code

function hosting_https_uninstall() {
  db_delete('hosting_service')
    ->condition('service', 'http')
    ->condition('type', 'https_apache')
    ->execute();
  db_delete('hosting_service')
    ->condition('service', 'http')
    ->condition('type', 'https_nginx')
    ->execute();
}