aboutsummaryrefslogtreecommitdiffstats
path: root/includes/profiler/ProfilerXhprof.php
diff options
context:
space:
mode:
authorBryan Davis <bd808@wikimedia.org>2014-11-19 11:55:28 -0700
committerBryan Davis <bd808@wikimedia.org>2014-11-19 11:55:28 -0700
commitddb57b78c0b7de45c9732904f097d29dff69d65f (patch)
tree8d440c53d6e36ea17675658e092a97a66de754ff /includes/profiler/ProfilerXhprof.php
parent987d2e4c7728193c2ea3d7a0a10d765c9480ae3c (diff)
downloadmediawikicore-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.php8
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}" );
- }
}
/**