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
Avoid sending duplicate ProfilerOutputText comments/html
[lhc/web/wiklou.git]
/
includes
/
profiler
/
output
/
ProfilerOutputText.php
diff --git
a/includes/profiler/output/ProfilerOutputText.php
b/includes/profiler/output/ProfilerOutputText.php
index
e3184db
..
95b5ff9
100644
(file)
--- a/
includes/profiler/output/ProfilerOutputText.php
+++ b/
includes/profiler/output/ProfilerOutputText.php
@@
-35,6
+35,11
@@
class ProfilerOutputText extends ProfilerOutput {
parent::__construct( $collector, $params );
$this->thresholdMs = $params['thresholdMs'] ?? 1.0;
}
+
+ public function logsToOutput() {
+ return true;
+ }
+
public function log( array $stats ) {
if ( $this->collector->getTemplated() ) {
$out = '';