Skip to:
Content

BuddyPress.org

Changeset 3023


Ignore:
Timestamp:
06/08/2010 05:38:06 PM (14 years ago)
Author:
apeatling
Message:

Remove unnecessary DISTINCT call to speed up query.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-classes.php

    r2951 r3023  
    112112        $sql = array();
    113113
    114         $sql['select_main'] = "SELECT DISTINCT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.display_name, u.user_email";
     114        $sql['select_main'] = "SELECT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.display_name, u.user_email";
    115115
    116116        if ( 'active' == $type || 'online' == $type )
Note: See TracChangeset for help on using the changeset viewer.