Skip to:
Content

BuddyPress.org

Changeset 1255 for trunk/bp-xprofile.php


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

Fixes #608

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.