From: Chad Horohoe Date: Wed, 8 Sep 2010 11:52:15 +0000 (+0000) Subject: Add profiler to global scope too X-Git-Tag: 1.31.0-rc.0~35093 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=8ec0f6376ab72ad323eea7b1f31d8dd6a396c08d;p=lhc%2Fweb%2Fwiklou.git Add profiler to global scope too --- 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__ ) ) ) );