Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/24/2011 06:52:57 PM (14 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-members/bp-members-functions.php

    r4510 r4558  
    620620 * @package BuddyPress Core
    621621 * @param $user_id The user id for the user to delete usermeta for
    622  * @uses delete_user_meta() deletes a row from the wp_usermeta table based on meta_key
     622 * @uses bp_delete_user_meta() deletes a row from the wp_usermeta table based on meta_key
    623623 */
    624624function bp_core_remove_data( $user_id ) {
    625625    // Remove usermeta
    626     delete_user_meta( $user_id, bp_get_user_meta_key( 'last_activity' ) );
     626    bp_delete_user_meta( $user_id, 'last_activity' );
    627627
    628628    // Flush the cache to remove the user from all cached objects
Note: See TracChangeset for help on using the changeset viewer.