Skip to:
Content

BuddyPress.org

Changeset 1861 for trunk/bp-core.php


Ignore:
Timestamp:
09/12/2009 12:30:43 AM (15 years ago)
Author:
apeatling
Message:

Added option to turn off forum directory if your bbPress tables sit in a different database (meaning the directory won't work anyway)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1836 r1861  
    14791479
    14801480    /* Make sure account deletion is not disabled */
    1481     if ( ( 1 == (int)get_site_option( 'bp-disable-account-deletion' ) && !is_site_admin() ) )
     1481    if ( ( !(int) get_site_option( 'bp-disable-account-deletion' ) && !is_site_admin() ) )
    14821482        return false;
    14831483
Note: See TracChangeset for help on using the changeset viewer.