From 8ec0f6376ab72ad323eea7b1f31d8dd6a396c08d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 8 Sep 2010 11:52:15 +0000 Subject: [PATCH] Add profiler to global scope too --- maintenance/tests/phpunit/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/tests/phpunit/bootstrap.php b/maintenance/tests/phpunit/bootstrap.php index 0e608b52e6..650fe4c97d 100644 --- a/maintenance/tests/phpunit/bootstrap.php +++ b/maintenance/tests/phpunit/bootstrap.php @@ -9,7 +9,7 @@ // This file is not included in the global scope, but rather within a function, so we must global anything we need to // have access to in the global scope explicitly -global $wgCommandLineMode, $IP, $optionsWithArgs; +global $wgCommandLineMode, $IP, $optionsWithArgs, $wgProfiler; // Evaluate the include path relative to this file $IP = dirname( dirname( dirname( dirname( __FILE__ ) ) ) ); -- 2.20.1