From 3fc8b8b3f301f2e9cb83c1cc9c9baee454b5fa54 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 15 Jan 2010 04:16:57 +0000 Subject: - Patch #683814 by yched: remove unneeded call to batch_process(). --- modules/simpletest/simpletest.module | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/simpletest/simpletest.module') diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module index 6c50ffa1c..15cb2353a 100644 --- a/modules/simpletest/simpletest.module +++ b/modules/simpletest/simpletest.module @@ -165,13 +165,7 @@ function simpletest_run_tests($test_list, $reporter = 'drupal') { module_invoke_all('test_group_started'); - // Normally, the forms portion of the batch API takes care of calling - // batch_process(), but in the process it saves the whole $form into the - // database (which is huge for the test selection form). - // By calling batch_process() directly, we skip that behavior and ensure - // that we don't exceed the size of data that can be sent to the database - // (max_allowed_packet on MySQL). - batch_process('admin/config/development/testing/results/' . $test_id); + return $test_id; } /** -- cgit v1.2.3