function simpletest_uninstall in Drupal 7
Same name and namespace in other branches
- 8 core/modules/simpletest/simpletest.install \simpletest_uninstall()
- 9 core/modules/simpletest/simpletest.install \simpletest_uninstall()
Implements hook_uninstall().
File
- 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');
}