From: Aaron Schulz Date: Mon, 1 Dec 2014 18:36:48 +0000 (-0800) Subject: Removed bogus argument in frame profiling method X-Git-Tag: 1.31.0-rc.0~13134 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=9d0f0119c6fd98ae7736c8b11a38fed989b3209d;p=lhc%2Fweb%2Fwiklou.git Removed bogus argument in frame profiling method * Caused "Warning: xhprof_frame_end() expects exactly 0 parameters, 1 given in includes/libs/ScopedCallback.php on line 70" Change-Id: I1ab5a973a185738cae97de4cfdc3cca78598d35e --- diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 00209e2e3e..88196db130 100644 --- 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(); } ); }