Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -541,11 +541,8 @@ |
542 | 542 | foreach ( FlaggedRevs::getDimensions() as $qal => $levels ) { |
543 | 543 | $level = isset( $flags[$qal] ) ? $flags[$qal] : 0; |
544 | 544 | $highest = count( $levels ) - 1; // highest valid level |
545 | | - # Levels may not apply for some pages |
546 | | - if ( $level > 0 && !RevisionReview::levelAvailable( $qal, $level, $config ) ) { |
547 | | - return false; |
548 | 545 | # Sanity check numeric range |
549 | | - } elseif ( $level < 0 || $level > $highest ) { |
| 546 | + if ( $level < 0 || $level > $highest ) { |
550 | 547 | return false; |
551 | 548 | } |
552 | 549 | } |