r111608 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111607‎ | r111608 | r111609 >
Date:02:03, 16 February 2012
Author:aaron
Status:ok
Tags:
Comment:
Fixed profiling calls
Modified paths:
  • /branches/wmf/1.19wmf1/includes/parser/CoreParserFunctions.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/includes/parser/CoreParserFunctions.php
@@ -281,8 +281,10 @@
282282
283283 // Some shortcuts to avoid loading user data unnecessarily
284284 if ( count( $forms ) === 0 ) {
 285+ wfProfileOut( __METHOD__ );
285286 return '';
286287 } elseif ( count( $forms ) === 1 ) {
 288+ wfProfileOut( __METHOD__ );
287289 return $forms[0];
288290 }
289291

Sign-offs

UserFlagDate
Reedyinspected02:15, 16 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111607Add missing wfProfileOut( __METHOD__ );reedy02:01, 16 February 2012

Status & tagging log