From: Aaron Schulz Date: Wed, 23 Sep 2009 00:34:57 +0000 (+0000) Subject: missing wfProfileOut() calls X-Git-Tag: 1.31.0-rc.0~39571 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=2b5c51f17702e0aadcd84e1f7380187cce87bd8a;p=lhc%2Fweb%2Fwiklou.git missing wfProfileOut() calls --- diff --git a/includes/Wiki.php b/includes/Wiki.php index 6ecbc39eba..6b8215e146 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -197,6 +197,7 @@ class MediaWiki { $output->redirect( $url ); } else { $title = SpecialPage::getTitleFor( 'Badtitle' ); + wfProfileOut( __METHOD__ ); throw new ErrorPageError( 'badtitle', 'badtitletext' ); } } else if( $action == 'view' && !$request->wasPosted() && @@ -226,6 +227,7 @@ class MediaWiki { "to true."; } wfHttpError( 500, "Internal error", $message ); + wfProfileOut( __METHOD__ ); return false; } else { $output->setSquidMaxage( 1200 ); @@ -318,6 +320,7 @@ class MediaWiki { if( is_string( $target ) ) { if( !$this->getVal( 'DisableHardRedirects' ) ) { // we'll need to redirect + wfProfileOut( __METHOD__ ); return $target; } }