http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65417

Revision: 65417
Author:   aaron
Date:     2010-04-22 01:16:03 +0000 (Thu, 22 Apr 2010)

Log Message:
-----------
Removed redundant check if diffButtons()

Modified Paths:
--------------
    trunk/phase3/includes/HistoryPage.php

Modified: trunk/phase3/includes/HistoryPage.php
===================================================================
--- trunk/phase3/includes/HistoryPage.php       2010-04-22 00:40:32 UTC (rev 
65416)
+++ trunk/phase3/includes/HistoryPage.php       2010-04-22 01:16:03 UTC (rev 
65417)
@@ -700,7 +700,7 @@
                                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 {



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to