Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/06/2014 02:10:32 PM (11 years ago)
Author:
boonebgorges
Message:

Remove copypasta from BP_Groups_Member::get_invite_count_for_user()

See r8057

File:
1 edited

Legend:

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

    r8059 r8061  
    23332333        $bp = buddypress();
    23342334
    2335         return (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(DISTINCT m.group_id) FROM {$bp->groups->table_name_members} m, {$bp->groups->table_name} g WHERE m.group_id = g.id AND m.is_confirmed = 0 AND m.inviter_id != 0 AND m.invite_sent = 1 AND m.user_id = %d {$exclude_sql} ORDER BY date_modified ASC", $user_id ) );
     2335        return (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(DISTINCT m.group_id) FROM {$bp->groups->table_name_members} m, {$bp->groups->table_name} g WHERE m.group_id = g.id AND m.is_confirmed = 0 AND m.inviter_id != 0 AND m.invite_sent = 1 AND m.user_id = %d ORDER BY date_modified ASC", $user_id ) );
    23362336    }
    23372337
Note: See TracChangeset for help on using the changeset viewer.