From: Aryeh Gregor Date: Thu, 8 Mar 2007 01:40:56 +0000 (+0000) Subject: (bug 9217) Balance wfProfile calls in Skin::outputPage X-Git-Tag: 1.31.0-rc.0~53866 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=a4fd25f58751ad3a832ae09a9b8b06f59191dbfc;p=lhc%2Fweb%2Fwiklou.git (bug 9217) Balance wfProfile calls in Skin::outputPage --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2a3ed7ef15..4cb6351228 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -251,6 +251,7 @@ lighter making things easier to read. * (bug 9118) Show deletion log on confirmdelete * (bug 9009) Add username entry field to Special:Contributions * (bug 9097) column "pr_pagetype" does not exist +* (bug 9217) Balance wfProfile calls in Skin::outputPage == Languages updated == diff --git a/includes/Skin.php b/includes/Skin.php index 55f1ca2d55..7bbb0260f1 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -242,7 +242,7 @@ class Skin extends Linker { function outputPage( &$out ) { global $wgDebugComments; - wfProfileIn( 'Skin::outputPage' ); + wfProfileIn( __METHOD__ ); $this->initPage( $out ); $out->out( $out->headElement() ); @@ -269,6 +269,7 @@ class Skin extends Linker { $out->out( $out->reportTime() ); $out->out( "\n" ); + wfProfileOut( __METHOD__ ); } static function makeVariablesScript( $data ) {