From: Aaron Schulz Date: Thu, 22 Apr 2010 01:16:03 +0000 (+0000) Subject: Removed redundant check if diffButtons() X-Git-Tag: 1.31.0-rc.0~37038 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=f670705a4203b0bd8936af79535d65c16bb94bb6;p=lhc%2Fweb%2Fwiklou.git Removed redundant check if diffButtons() --- diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index e515d3dd86..e791af4c7a 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -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 {