Removed unused join array from ActiveUser conds.
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 10 May 2013 01:10:12 +0000 (18:10 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 10 May 2013 01:10:12 +0000 (18:10 -0700)
* The table was not in the table array so this did not affect
  the SQL, but was still unused cruft.

Change-Id: Ia5aa934fb6e6de9daeb0072d902df6e681575fd7

includes/specials/SpecialActiveusers.php

index a2978e3..c84beb1 100644 (file)
@@ -120,10 +120,6 @@ class ActiveUsersPager extends UsersPager {
                                'GROUP BY' => array( 'rc_user_text' ),
                                'USE INDEX' => array( 'recentchanges' => 'rc_user_text' )
                        ),
-                       'join_conds' => array( // check for suppression blocks
-                               'ipblocks' => array( 'LEFT JOIN',
-                                       array( 'rc_user=ipb_user', 'ipb_deleted' => 1 ) ),
-                       ),
                        'conds' => $conds
                );
        }