From 80d2262faee43cfc06090f17df2eb1012ef5be3c Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 16 Feb 2012 02:52:46 +0000 Subject: [PATCH] Make wfProfileOut call be the last thing before the return --- includes/actions/HistoryAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1