Follow-up r84814: revert redundant summary message addition.
[lhc/web/wiklou.git] / includes / HistoryPage.php
index 63b14b1..8c584f9 100644 (file)
@@ -510,7 +510,7 @@ class HistoryPager extends ReverseChronologicalPager {
 
                $del = '';
                // Show checkboxes for each revision
-               if ( $wgUser->isAllowed( 'deleterevision' ) || $wgUser->isAllowed( 'revisionmove' ) ) {
+               if ( $wgUser->isAllowedAny( 'deleterevision', 'revisionmove' ) ) {
                        $this->preventClickjacking();
                        // If revision was hidden from sysops, disable the checkbox
                        // However, if the user has revisionmove rights, we cannot disable the checkbox