Removed redundant check if diffButtons()
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 22 Apr 2010 01:16:03 +0000 (01:16 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 22 Apr 2010 01:16:03 +0000 (01:16 +0000)
includes/HistoryPage.php

index e515d3d..e791af4 100644 (file)
@@ -700,7 +700,7 @@ class HistoryPager extends ReverseChronologicalPager {
                                if( !$rev->userCan( Revision::DELETED_TEXT ) ) {
                                        $radio['disabled'] = 'disabled';
                                        $checkmark = array(); // We will check the next possible one
-                               } else if( $counter == 2 || !$this->oldIdChecked ) {
+                               } else if( !$this->oldIdChecked ) {
                                        $checkmark = array( 'checked' => 'checked' );
                                        $this->oldIdChecked = $id;
                                } else {