Chad has uploaded a new change for review.

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

Change subject: Remove LanguageGetMagic profile point
......................................................................

Remove LanguageGetMagic profile point

The hook call is already captured in profiling data and this
function is too.

Change-Id: I69ad54b9a66e24a419f492238f45c46922c112eb
---
M languages/Language.php
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/96/188596/1

diff --git a/languages/Language.php b/languages/Language.php
index fbd4f6d..d203c0f 100644
--- a/languages/Language.php
+++ b/languages/Language.php
@@ -3172,9 +3172,7 @@
                        return;
                }
                $this->mMagicHookDone = true;
-               wfProfileIn( 'LanguageGetMagic' );
                Hooks::run( 'LanguageGetMagic', array( 
&$this->mMagicExtensions, $this->getCode() ) );
-               wfProfileOut( 'LanguageGetMagic' );
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69ad54b9a66e24a419f492238f45c46922c112eb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <ch...@wikimedia.org>

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

Reply via email to