r45394 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45393‎ | r45394 | r45395 >
Date:12:35, 4 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Should be >= not >
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php
@@ -663,7 +663,7 @@
664664 $p = FlaggedRevs::getUserParams( $rev->getRawUser() );
665665 $p['reviewedEdits'] = isset($p['reviewedEdits']) ? $p['reviewedEdits'] : 0;
666666 $p['reviewedEdits']++;
667 - if( $wgFlaggedRevsAutopromote['reviewedEdits'] > $p['reviewedEdits'] )
 667+ if( $wgFlaggedRevsAutopromote['reviewedEdits'] >= $p['reviewedEdits'] )
668668 FlaggedRevs::saveUserParams( $rev->getRawUser(), $p );
669669 }
670670

Status & tagging log