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:
3a6c9d3
)
Removed useless "use" clause from closure
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 3 Dec 2014 23:31:17 +0000
(15:31 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 3 Dec 2014 23:34:00 +0000
(23:34 +0000)
Change-Id: Ie2e0328548b185e77b919c0b8bd18a5005d94037
includes/profiler/ProfilerXhprof.php
patch
|
blob
|
history
diff --git
a/includes/profiler/ProfilerXhprof.php
b/includes/profiler/ProfilerXhprof.php
index
88196db
..
d178ce6
100644
(file)
--- a/
includes/profiler/ProfilerXhprof.php
+++ b/
includes/profiler/ProfilerXhprof.php
@@
-130,7
+130,7
@@
class ProfilerXhprof extends Profiler {
if ( $exists ) {
xhprof_frame_begin( $section );
- return new ScopedCallback( function()
use ( $section )
{
+ return new ScopedCallback( function() {
xhprof_frame_end();
} );
}