You are here

function simpletest_uninstall in SimpleTest 7.2

Same name and namespace in other branches
  1. 8.3 simpletest.install \simpletest_uninstall()
  2. 6.2 simpletest.install \simpletest_uninstall()
  3. 7 simpletest.install \simpletest_uninstall()

Implements hook_uninstall().

File

./simpletest.install, line 169
Install, update and uninstall functions for the simpletest module.

Code

function simpletest_uninstall() {
  module_load_include('module', 'simpletest');
  simpletest_clean_environment();

  // 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');
}