jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/371592 )

Change subject: Remove deprecated wfProfileIn()/wfProfileOut()
......................................................................


Remove deprecated wfProfileIn()/wfProfileOut()

Change-Id: I373fc491a7ecaac22bc87403264d0b319261ede1
---
M includes/Renderer.php
1 file changed, 0 insertions(+), 6 deletions(-)

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



diff --git a/includes/Renderer.php b/includes/Renderer.php
index 371ac19..8ff8e20 100644
--- a/includes/Renderer.php
+++ b/includes/Renderer.php
@@ -48,7 +48,6 @@
         * @param array $args
         */
        public static function runParserFunction( $parser, $frame, $args ) {
-               wfProfileIn( __METHOD__ );
                Timer::start( $parser );
 
                $command = array_shift($args);
@@ -81,12 +80,10 @@
 
                Timer::stop( $parser );
 
-               wfProfileOut( __METHOD__ );
                return Validator::cleanUp( $return );
        }
 
        public static function runTagHook( $input, array $args, \Parser 
$parser, \PPFrame $frame ) {
-               wfProfileIn( __METHOD__ );
                Timer::start( $parser );
 
                $frameTitle = $frame->getTitle();
@@ -109,7 +106,6 @@
 
                Timer::stop( $parser );
                $return = self::insertGeneral( $parser, 
$parser->recursiveTagParse( implode($result), $frame ) );
-               wfProfileOut( __METHOD__ );
                return $return;
        }
 
@@ -268,7 +264,6 @@
 
        public static function onParserAfterTidy( $parser, &$text ) {
                global $wgPhpTagsBytecodeExptime;
-               wfProfileIn( __METHOD__ );
 
                if ( self::$globalVariablesScript ) {
                        $vars = array();
@@ -286,7 +281,6 @@
                }
                self::reset();
 
-               wfProfileOut( __METHOD__ );
                return true;
        }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I373fc491a7ecaac22bc87403264d0b319261ede1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PhpTags
Gerrit-Branch: master
Gerrit-Owner: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to