dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7933ef3
)
Unbreak master by restoring Profiler::profile(In|Out)
author
Niklas Laxström
<niklas.laxstrom@gmail.com>
Fri, 9 Jan 2015 09:15:30 +0000
(10:15 +0100)
committer
Nikerabbit
<niklas.laxstrom@gmail.com>
Fri, 9 Jan 2015 09:17:13 +0000
(09:17 +0000)
Keep functions in the abstract class to keep BC with SMW.
To I781f62be9
Change-Id: I81d3912cbffc88ed66c9d6d787db9f1ffe3b2de3
includes/profiler/Profiler.php
patch
|
blob
|
history
diff --git
a/includes/profiler/Profiler.php
b/includes/profiler/Profiler.php
index
6e1278f
..
9bb2db9
100644
(file)
--- a/
includes/profiler/Profiler.php
+++ b/
includes/profiler/Profiler.php
@@
-118,6
+118,10
@@
abstract class Profiler {
}
}
+ // Kept BC for now, remove when possible
+ public function profileIn( $functionname ) {}
+ public function profileOut( $functionname ) {}
+
/**
* Mark the start of a custom profiling frame (e.g. DB queries).
* The frame ends when the result of this method falls out of scope.