From: Chad Horohoe Date: Wed, 4 Feb 2015 18:46:02 +0000 (-0800) Subject: Remove LanguageGetMagic profile point X-Git-Tag: 1.31.0-rc.0~12514 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=af14c36286f987ff34e4ab451ccc27dba8c68a57;p=lhc%2Fweb%2Fwiklou.git Remove LanguageGetMagic profile point The hook call is already captured in profiling data and this function is too. Change-Id: I69ad54b9a66e24a419f492238f45c46922c112eb --- 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' ); } /**