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
Made ProfilerStub return null instead of a dummy ScopedCallback
[lhc/web/wiklou.git]
/
includes
/
profiler
/
ProfilerStub.php
diff --git
a/includes/profiler/ProfilerStub.php
b/includes/profiler/ProfilerStub.php
index
5580f94
..
1d04536
100644
(file)
--- a/
includes/profiler/ProfilerStub.php
+++ b/
includes/profiler/ProfilerStub.php
@@
-28,7
+28,7
@@
*/
class ProfilerStub extends Profiler {
public function scopedProfileIn( $section ) {
- return n
ew ScopedCallback( null )
; // no-op
+ return n
ull
; // no-op
}
public function getFunctionStats() {