Skip to:
Content

BuddyPress.org

Changeset 9283


Ignore:
Timestamp:
12/25/2014 01:56:39 PM (10 years ago)
Author:
imath
Message:

In Groups invite loop, fetch users total friend count only once

Fixes #6079

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r9260 r9283  
    44004400        }
    44014401
    4402         if ( bp_is_active( 'friends' ) ) {
    4403             $this->invite->user->total_friends = BP_Friends_Friendship::total_friend_count( $user_id );
    4404         }
    4405 
    44064402        $this->invite->user->total_blogs = null;
    44074403
Note: See TracChangeset for help on using the changeset viewer.