From: Sam Reed Date: Thu, 16 Feb 2012 02:01:00 +0000 (+0000) Subject: Add missing wfProfileOut( __METHOD__ ); X-Git-Tag: 1.31.0-rc.0~24681 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=9990b77058dedda4aacdcc67c879546c02a1d1fe;p=lhc%2Fweb%2Fwiklou.git Add missing wfProfileOut( __METHOD__ ); --- 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]; }