Add profiler to global scope too
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 8 Sep 2010 11:52:15 +0000 (11:52 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 8 Sep 2010 11:52:15 +0000 (11:52 +0000)
maintenance/tests/phpunit/bootstrap.php

index 0e608b5..650fe4c 100644 (file)
@@ -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__ ) ) ) );