r82919 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82918‎ | r82919 | r82920 >
Date:22:20, 27 February 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed premature optimization in r82917 (we may have many repos)
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php
@@ -730,7 +730,7 @@
731731 $updated = ( $file->getTimestamp() > $tsStable ); // edited/created
732732 }
733733 $deleted = $tsStable // included file deleted after review
734 - && !$file->getRepo()->findFile( $title, array( 'time' => $tsStable ) );
 734+ && !wfFindFile( $title, array( 'time' => $tsStable ) );
735735 } else { // file doesn't exists
736736 $updated = false;
737737 $deleted = (bool)$tsStable; // included file deleted after review

Follow-up revisions

RevisionCommit summaryAuthorDate
r85033MFT more extension revs: r82601, r82654, r82698, r82755, r82756, r82759, r829...demon18:49, 30 March 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82917(bug 23415) Mark articles as needing review if a file version used in the sta...aaron22:01, 27 February 2011

Status & tagging log