Skip to:
Content

BuddyPress.org

Ticket #2414: 2414.001.diff

File 2414.001.diff, 497 bytes (added by cnorris23, 14 years ago)
  • bp-core.php

     
    17091709                $user_id = $bp->loggedin_user->id;
    17101710
    17111711        /* 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 )
    17131713                return false;
    17141714
    17151715        /* Specifically handle multi-site environment */