Skip to:
Content

BuddyPress.org

Ticket #810: 810-jjj.patch

File 810-jjj.patch, 668 bytes (added by johnjamesjacoby, 15 years ago)

Remove call to kill_tables_for_user

  • bp-activity.php

     
    292292
    293293function bp_activity_remove_data( $user_id ) {
    294294        // Clear the user's activity from the sitewide stream and clear their activity tables
    295         BP_Activity_Activity::delete_activity_for_user( $user_id );
     295        BP_Activity_Activity::delete_for_user( $user_id );
    296296       
    297         // Remove the deleted users activity tables
    298         BP_Activity_Activity::kill_tables_for_user( $user_id );
    299        
    300297        do_action( 'bp_activity_remove_data', $user_id );
    301298}
    302299add_action( 'wpmu_delete_user', 'bp_activity_remove_data' );