dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove deprecated profiling config parameters, clarify docs
[lhc/web/wiklou.git]
/
includes
/
profiler
/
Profiler.php
diff --git
a/includes/profiler/Profiler.php
b/includes/profiler/Profiler.php
index
2be142f
..
e59b09e
100644
(file)
--- a/
includes/profiler/Profiler.php
+++ b/
includes/profiler/Profiler.php
@@
-77,6
+77,7
@@
abstract class Profiler {
if ( PHP_SAPI === 'cli' || mt_rand( 0, $factor - 1 ) != 0 ) {
$class = 'ProfilerStub';
}
+ /** @var Profiler */
self::$__instance = new $class( $wgProfiler );
} else {
self::$__instance = new ProfilerStub( array() );