From cd9931fd65601f0b24126eff3857a27cd99cec8e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 3 Dec 2014 15:31:17 -0800 Subject: [PATCH] Removed useless "use" clause from closure Change-Id: Ie2e0328548b185e77b919c0b8bd18a5005d94037 --- includes/profiler/ProfilerXhprof.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 88196db130..d178ce6e50 100644 --- 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(); } ); } -- 2.20.1