Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/24/2011 06:52:57 PM (13 years ago)
Author:
boonebgorges
Message:

Introduces bp_x_user_meta() wrapper functions. Refactors internal user_meta calls to use the new functions. Fixes #3299

File:
1 edited

Legend:

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

    r4524 r4558  
    253253
    254254    // Modify user's group memberhip count
    255     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 );
     255    bp_update_user_meta( $user_id, 'total_group_count', (int) bp_get_user_meta( $user_id, 'total_group_count', true ) - 1 );
    256256
    257257    /**
Note: See TracChangeset for help on using the changeset viewer.