summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.install
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-15 02:28:22 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-15 02:28:22 -0400
commite3de4550acb794e7b3589576d1e734bc4e05b8af (patch)
tree8e68527fc9d3c8223348d328048bf92fd6e49a01 /modules/simpletest/simpletest.install
parenteeec65a2fca8524f34a955b429cab1a4d1fd8397 (diff)
downloadbrdo-e3de4550acb794e7b3589576d1e734bc4e05b8af.tar.gz
brdo-e3de4550acb794e7b3589576d1e734bc4e05b8af.tar.bz2
Issue #1029606 follow-up by catch, David_Rothstein: Fixed Regression: Not loading the .module file causes a fatal error when uninstalling some modules (as does loading it).
Diffstat (limited to 'modules/simpletest/simpletest.install')
-rw-r--r--modules/simpletest/simpletest.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/simpletest/simpletest.install b/modules/simpletest/simpletest.install
index 0f017e75f..ea847f4ea 100644
--- a/modules/simpletest/simpletest.install
+++ b/modules/simpletest/simpletest.install
@@ -167,7 +167,8 @@ function simpletest_schema() {
* Implements hook_uninstall().
*/
function simpletest_uninstall() {
- simpletest_clean_environment();
+ drupal_load('module', 'simpletest');
+ simpletest_clean_database();
// Remove settings variables.
variable_del('simpletest_httpauth_method');