r111607 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111606‎ | r111607 | r111608 >
Date:02:01, 16 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Add missing wfProfileOut( __METHOD__ );
Modified paths:
  • /trunk/phase3/includes/parser/CoreParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/CoreParserFunctions.php
@@ -282,8 +282,10 @@
283283
284284 // Some shortcuts to avoid loading user data unnecessarily
285285 if ( count( $forms ) === 0 ) {
 286+ wfProfileOut( __METHOD__ );
286287 return '';
287288 } elseif ( count( $forms ) === 1 ) {
 289+ wfProfileOut( __METHOD__ );
288290 return $forms[0];
289291 }
290292

Sign-offs

UserFlagDate
Nikerabbitinspected07:11, 16 February 2012

Follow-up revisions

RevisionCommit summaryAuthorDate
r111608Fixed profiling callsaaron02:03, 16 February 2012

Status & tagging log