From ddb57b78c0b7de45c9732904f097d29dff69d65f Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Wed, 19 Nov 2014 11:55:28 -0700 Subject: [PATCH] Remove calls to legacy Profiler::debug() Profiler::debug() was moved to ProfilerStandard. Since we have a proposed patch set already that will remove wfProfileIn()/wfProfileout() calls that wrap whole methods this seem like an easy problem to solve by removing this logging functionality. Change-Id: I429ec29fe4393ce886361b896b650fd39480eda5 --- includes/profiler/ProfilerXhprof.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 93793790dd..d67806b079 100644 --- a/includes/profiler/ProfilerXhprof.php +++ b/includes/profiler/ProfilerXhprof.php @@ -109,10 +109,6 @@ class ProfilerXhprof extends Profiler { * @param string $functionname */ public function profileIn( $functionname ) { - global $wgDebugFunctionEntry; - if ( $wgDebugFunctionEntry ) { - $this->debug( "Entering {$functionname}" ); - } } /** @@ -124,10 +120,6 @@ class ProfilerXhprof extends Profiler { * @param string $functionname */ public function profileOut( $functionname ) { - global $wgDebugFunctionEntry; - if ( $wgDebugFunctionEntry ) { - $this->debug( "Exiting {$functionname}" ); - } } /** -- 2.20.1