Commit ba790924 authored by Dries's avatar Dries

- Patch #601584 by yched: fix verbose feature.

parent 5187fa6f
......@@ -2678,8 +2678,7 @@ protected function verbose($message) {
* @see DrupalWebTestCase->verbose()
*/
function simpletest_verbose($message, $original_file_directory = NULL, $test_class = NULL) {
static $file_directory = NULL, $class = NULL, $id = 1;
$verbose = &drupal_static(__FUNCTION__);
static $file_directory = NULL, $class = NULL, $id = 1, $verbose = NULL;
// Will pass first time during setup phase, and when verbose is TRUE.
if (!isset($original_file_directory) && !$verbose) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment