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
* Added Profiler::isStub() to check if we are using a stub profiler, instead of check...
[lhc/web/wiklou.git]
/
includes
/
profiler
/
ProfilerStub.php
diff --git
a/includes/profiler/ProfilerStub.php
b/includes/profiler/ProfilerStub.php
index
b17e81a
..
5c82609
100644
(file)
--- a/
includes/profiler/ProfilerStub.php
+++ b/
includes/profiler/ProfilerStub.php
@@
-20,6
+20,10
@@
class ProfilerStub extends Profiler {
$this->haveProctitle = function_exists( 'setproctitle' );
}
+ public function isStub() {
+ return true;
+ }
+
/**
* Begin profiling of a function
* @param $fn string