Make wfProfileOut call be the last thing before the return
authorSam Reed <reedy@users.mediawiki.org>
Thu, 16 Feb 2012 02:52:46 +0000 (02:52 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 16 Feb 2012 02:52:46 +0000 (02:52 +0000)
includes/actions/HistoryAction.php

index 0d82c33..5f8c701 100644 (file)
@@ -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;
                }