Skip to:
Content

BuddyPress.org

Changeset 1255


Ignore:
Timestamp:
03/25/2009 07:09:51 PM (15 years ago)
Author:
apeatling
Message:

Fixes #608

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r1250 r1255  
    9393    dbDelta($sql);
    9494   
     95    if ( function_exists('bp_wire_install') )
     96        groups_wire_install();
     97   
    9598    update_site_option( 'bp-groups-db-version', BP_GROUPS_DB_VERSION );
    9699}
     
    162165        if ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION )
    163166            groups_install();
    164            
    165         if ( function_exists('bp_wire_install') && get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION )
    166             groups_wire_install();
    167167    }
    168168}
  • trunk/bp-xprofile.php

    r1250 r1255  
    115115   
    116116    require_once( ABSPATH . 'wp-admin/upgrade-functions.php' );
    117 
    118117    dbDelta($sql);
     118   
     119    if ( function_exists('bp_wire_install') )
     120        xprofile_wire_install();
    119121   
    120122    update_site_option( 'bp-xprofile-db-version', BP_XPROFILE_DB_VERSION );
     
    139141
    140142    require_once( ABSPATH . 'wp-admin/upgrade-functions.php' );
    141 
    142143    dbDelta($sql);
    143144}
     
    200201    if ( get_site_option('bp-xprofile-db-version') < BP_XPROFILE_DB_VERSION )
    201202        xprofile_install();
    202    
    203     if ( function_exists('bp_wire_install') && get_site_option('bp-xprofile-db-version') < BP_XPROFILE_DB_VERSION )
    204         xprofile_wire_install();
    205203}
    206204add_action( 'admin_menu', 'xprofile_add_admin_menu' );
Note: See TracChangeset for help on using the changeset viewer.