function simpletest_uninstall

7.x simpletest.install simpletest_uninstall()

Implements hook_uninstall().

File

drupal-7.x/modules/simpletest/simpletest.install, line 169
Install, update and uninstall functions for the simpletest module.

Code

function simpletest_uninstall() {
  drupal_load('module', 'simpletest');
  simpletest_clean_database();

  // Remove settings variables.
  variable_del('simpletest_httpauth_method');
  variable_del('simpletest_httpauth_username');
  variable_del('simpletest_httpauth_password');
  variable_del('simpletest_clear_results');
  variable_del('simpletest_verbose');

  // Remove generated files.
  file_unmanaged_delete_recursive('public://simpletest');
}