From: Sam Reed Date: Thu, 16 Feb 2012 02:52:46 +0000 (+0000) Subject: Make wfProfileOut call be the last thing before the return X-Git-Tag: 1.31.0-rc.0~24675 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=80d2262faee43cfc06090f17df2eb1012ef5be3c;p=lhc%2Fweb%2Fwiklou.git Make wfProfileOut call be the last thing before the return --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 0d82c33574..5f8c7013a0 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -106,8 +106,8 @@ class HistoryAction extends FormlessAction { // Handle atom/RSS feeds. $feedType = $request->getVal( 'feed' ); if ( $feedType ) { - wfProfileOut( __METHOD__ ); $this->feed( $feedType ); + wfProfileOut( __METHOD__ ); return; }