From 9990b77058dedda4aacdcc67c879546c02a1d1fe Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 16 Feb 2012 02:01:00 +0000 Subject: [PATCH] Add missing wfProfileOut( __METHOD__ ); --- includes/parser/CoreParserFunctions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 13aa66f1ed..9c39e8ad43 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -282,8 +282,10 @@ class CoreParserFunctions { // Some shortcuts to avoid loading user data unnecessarily if ( count( $forms ) === 0 ) { + wfProfileOut( __METHOD__ ); return ''; } elseif ( count( $forms ) === 1 ) { + wfProfileOut( __METHOD__ ); return $forms[0]; } -- 2.20.1