r49594 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49593‎ | r49594 | r49595 >
Date:08:08, 17 April 2009
Author:aaron
Status:ok
Tags:
Comment:
profiling fix
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -837,9 +837,11 @@
838838 $text = ExternalStore::insertToDefault( $text );
839839 $flags[] = 'external';
840840
841 - if (!$text)
 841+ if (!$text) {
842842 // Not mission-critical, just return nothing
 843+ wfProfileOut( __METHOD__ );
843844 return null;
 845+ }
844846 }
845847
846848 // Store to text table

Status & tagging log