summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-05 00:22:24 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-05 00:22:24 +0000
commit9a7899efa659579cd7fa12048509f83df091d19c (patch)
treea6f49bdf1d64aed2af449c7e6cd1151a4c8a035c /modules/simpletest/tests
parent4b586bfecae3400ce62cf6ea6bfbd99de23a9dbe (diff)
downloadbrdo-9a7899efa659579cd7fa12048509f83df091d19c.tar.gz
brdo-9a7899efa659579cd7fa12048509f83df091d19c.tar.bz2
#931190 by klausi, carlos8f: Fixed enabling modules via the UI breaks module dependencies.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/module_test.module7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/simpletest/tests/module_test.module b/modules/simpletest/tests/module_test.module
index facac7cfa..6829026a2 100644
--- a/modules/simpletest/tests/module_test.module
+++ b/modules/simpletest/tests/module_test.module
@@ -50,3 +50,10 @@ function module_test_hook_info() {
);
return $hooks;
}
+
+/**
+ * Implements hook_modules_enabled().
+ */
+function module_test_modules_enabled($modules) {
+ variable_set('test_module_enable_order', $modules);
+}