Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 10:22:39 PM (13 years ago)
Author:
boonebgorges
Message:

Refactors user_meta key filtering to remove overhead in the bp global. Fixes #2952. Props nacin.

File:
1 edited

Legend:

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

    r4372 r4378  
    249249
    250250    // Modify user's group memberhip count
    251     update_user_meta( $user_id, $bp->user_meta_keys->total_group_count, (int) get_user_meta( $user_id, bp_get_user_meta_key( 'total_group_count' ), true ) - 1 );
     251    update_user_meta( $user_id, bp_get_user_meta_key( 'total_group_count' ), (int) get_user_meta( $user_id, bp_get_user_meta_key( 'total_group_count' ), true ) - 1 );
    252252
    253253    /**
Note: See TracChangeset for help on using the changeset viewer.