jenkins-bot has submitted this change and it was merged.

Change subject: Removed bogus argument in frame profiling method
......................................................................


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
---
M includes/profiler/ProfilerXhprof.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/profiler/ProfilerXhprof.php 
b/includes/profiler/ProfilerXhprof.php
index 00209e2..88196db 100644
--- a/includes/profiler/ProfilerXhprof.php
+++ b/includes/profiler/ProfilerXhprof.php
@@ -131,7 +131,7 @@
                if ( $exists ) {
                        xhprof_frame_begin( $section );
                        return new ScopedCallback( function() use ( $section ) {
-                               xhprof_frame_end( $section );
+                               xhprof_frame_end();
                        } );
                }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/176700
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1ab5a973a185738cae97de4cfdc3cca78598d35e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to