From af14c36286f987ff34e4ab451ccc27dba8c68a57 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 4 Feb 2015 10:46:02 -0800 Subject: [PATCH] Remove LanguageGetMagic profile point The hook call is already captured in profiling data and this function is too. Change-Id: I69ad54b9a66e24a419f492238f45c46922c112eb --- languages/Language.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/languages/Language.php b/languages/Language.php index fbd4f6ddda..d203c0f90b 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3172,9 +3172,7 @@ class Language { return; } $this->mMagicHookDone = true; - wfProfileIn( 'LanguageGetMagic' ); Hooks::run( 'LanguageGetMagic', array( &$this->mMagicExtensions, $this->getCode() ) ); - wfProfileOut( 'LanguageGetMagic' ); } /** -- 2.20.1