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
Fixed running percents in SectionProfiler
[lhc/web/wiklou.git]
/
includes
/
profiler
/
Profiler.php
diff --git
a/includes/profiler/Profiler.php
b/includes/profiler/Profiler.php
index
9650ff5
..
2be142f
100644
(file)
--- a/
includes/profiler/Profiler.php
+++ b/
includes/profiler/Profiler.php
@@
-100,13
+100,6
@@
abstract class Profiler {
}
}
}
}
- /**
- * Return whether this a stub profiler
- *
- * @return bool
- */
- abstract public function isStub();
-
/**
* @param string $id
*/
/**
* @param string $id
*/
@@
-178,7
+171,7
@@
abstract class Profiler {
public function logData() {
$output = isset( $this->params['output'] ) ? $this->params['output'] : null;
public function logData() {
$output = isset( $this->params['output'] ) ? $this->params['output'] : null;
- if ( !$output || $this
->isStub()
) {
+ if ( !$output || $this
instanceof ProfilerStub
) {
// return early when no output classes defined or we're a stub
return;
}
// return early when no output classes defined or we're a stub
return;
}