(bug 9217) Balance wfProfile calls in Skin::outputPage
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 8 Mar 2007 01:40:56 +0000 (01:40 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 8 Mar 2007 01:40:56 +0000 (01:40 +0000)
RELEASE-NOTES
includes/Skin.php

index 2a3ed7e..4cb6351 100644 (file)
@@ -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 ==
 
index 55f1ca2..7bbb026 100644 (file)
@@ -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</body></html>" );
+               wfProfileOut( __METHOD__ );
        }
 
        static function makeVariablesScript( $data ) {