r39310 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39309‎ | r39310 | r39311 >
Date:23:01, 13 August 2008
Author:aaron
Status:old
Tags:
Comment:
lax this check a tad and make it more consistent
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php
@@ -1654,8 +1654,7 @@
16551655 $frev = $flaggedArticle->getStableRev();
16561656 if( $frev ) {
16571657 # Allow for only editors/reviewers to move this
1658 - $right = $frev->getQuality() ? 'validate' : 'review';
1659 - if( !$user->isAllowed($right) && !$user->isAllowed('movestable') ) {
 1658+ if( !$user->isAllowed('review') && !$user->isAllowed('movestable') ) {
16601659 $result = false;
16611660 return false;
16621661 }

Status & tagging log