Ticket #2414: 2414.001.diff
File 2414.001.diff, 497 bytes (added by , 15 years ago) |
---|
-
bp-core.php
1709 1709 $user_id = $bp->loggedin_user->id; 1710 1710 1711 1711 /* Make sure account deletion is not disabled */ 1712 if ( (int)get_site_option( 'bp-disable-account-deletion' ) )1712 if ( (int)get_site_option( 'bp-disable-account-deletion' ) && !$bp->loggedin_user->is_site_admin ) 1713 1713 return false; 1714 1714 1715 1715 /* Specifically handle multi-site environment */