From a4fd25f58751ad3a832ae09a9b8b06f59191dbfc Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Thu, 8 Mar 2007 01:40:56 +0000 Subject: [PATCH] (bug 9217) Balance wfProfile calls in Skin::outputPage --- RELEASE-NOTES | 1 + includes/Skin.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 ) { -- 2.20.1