Ticket #5575: 5575.option1.diff
File 5575.option1.diff, 559 bytes (added by , 10 years ago) |
---|
-
bp-members/bp-members-classes.php
diff --git bp-members/bp-members-classes.php bp-members/bp-members-classes.php index b1a2f9d..f32ed60 100644
class BP_Signup { 636 636 637 637 // we have a user id, account is not active, let's delete it 638 638 } else { 639 // Force deletion 640 add_filter( 'bp_disable_account_deletion', '__return_false' ); 641 639 642 bp_core_delete_account( $user_id ); 643 644 // remove the filter 645 remove_filter( 'bp_disable_account_deletion', '__return_false' ); 640 646 } 641 647 } 642 648