You are here

function certificate_uninstall in Certificate 3.x

Same name and namespace in other branches
  1. 8.3 certificate.install \certificate_uninstall()
  2. 6.2 certificate.install \certificate_uninstall()
  3. 6 certificate.install \certificate_uninstall()
  4. 7.3 certificate.install \certificate_uninstall()
  5. 7.2 certificate.install \certificate_uninstall()

Implements hook_uninstall().

File

./certificate.install, line 137
Install the Certificate module.

Code

function certificate_uninstall() {
  cache_clear_all('certificate:*', 'cache', TRUE);
  db_delete('variable')
    ->condition('name', "certificate_%", "LIKE")
    ->execute();
  variable_del('node_options_certificate');
  variable_del('comment_certificate');
}