diff options
author | Bryan Davis <bd808@wikimedia.org> | 2014-11-19 11:55:28 -0700 |
---|---|---|
committer | Bryan Davis <bd808@wikimedia.org> | 2014-11-19 11:55:28 -0700 |
commit | ddb57b78c0b7de45c9732904f097d29dff69d65f (patch) | |
tree | 8d440c53d6e36ea17675658e092a97a66de754ff /includes/profiler/ProfilerXhprof.php | |
parent | 987d2e4c7728193c2ea3d7a0a10d765c9480ae3c (diff) | |
download | mediawikicore-ddb57b78c0b7de45c9732904f097d29dff69d65f.tar.gz mediawikicore-ddb57b78c0b7de45c9732904f097d29dff69d65f.zip |
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
Diffstat (limited to 'includes/profiler/ProfilerXhprof.php')
-rw-r--r-- | includes/profiler/ProfilerXhprof.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 93793790ddc6..d67806b079a8 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}" ); - } } /** |