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
(from parent 1:
40a8070
)
Removed bogus argument in frame profiling method
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 1 Dec 2014 18:36:48 +0000
(10:36 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 1 Dec 2014 18:36:48 +0000
(10:36 -0800)
* Caused "Warning: xhprof_frame_end() expects exactly 0 parameters, 1 given in includes/libs/ScopedCallback.php on line 70"
Change-Id: I1ab5a973a185738cae97de4cfdc3cca78598d35e
includes/profiler/ProfilerXhprof.php
patch
|
blob
|
history
diff --git
a/includes/profiler/ProfilerXhprof.php
b/includes/profiler/ProfilerXhprof.php
index
00209e2
..
88196db
100644
(file)
--- a/
includes/profiler/ProfilerXhprof.php
+++ b/
includes/profiler/ProfilerXhprof.php
@@
-131,7
+131,7
@@
class ProfilerXhprof extends Profiler {
if ( $exists ) {
xhprof_frame_begin( $section );
return new ScopedCallback( function() use ( $section ) {
- xhprof_frame_end(
$section
);
+ xhprof_frame_end();
} );
}