BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/174465

Change subject: Remove calls to legacy Profiler::debug()
......................................................................

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
---
M includes/profiler/ProfilerXhprof.php
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/65/174465/1

diff --git a/includes/profiler/ProfilerXhprof.php 
b/includes/profiler/ProfilerXhprof.php
index 9379379..d67806b 100644
--- a/includes/profiler/ProfilerXhprof.php
+++ b/includes/profiler/ProfilerXhprof.php
@@ -109,10 +109,6 @@
         * @param string $functionname
         */
        public function profileIn( $functionname ) {
-               global $wgDebugFunctionEntry;
-               if ( $wgDebugFunctionEntry ) {
-                       $this->debug( "Entering {$functionname}" );
-               }
        }
 
        /**
@@ -124,10 +120,6 @@
         * @param string $functionname
         */
        public function profileOut( $functionname ) {
-               global $wgDebugFunctionEntry;
-               if ( $wgDebugFunctionEntry ) {
-                       $this->debug( "Exiting {$functionname}" );
-               }
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I429ec29fe4393ce886361b896b650fd39480eda5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

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

Reply via email to