Changeset 1255
- Timestamp:
- 03/25/2009 07:09:51 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1250 r1255 93 93 dbDelta($sql); 94 94 95 if ( function_exists('bp_wire_install') ) 96 groups_wire_install(); 97 95 98 update_site_option( 'bp-groups-db-version', BP_GROUPS_DB_VERSION ); 96 99 } … … 162 165 if ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION ) 163 166 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();167 167 } 168 168 } -
trunk/bp-xprofile.php
r1250 r1255 115 115 116 116 require_once( ABSPATH . 'wp-admin/upgrade-functions.php' ); 117 118 117 dbDelta($sql); 118 119 if ( function_exists('bp_wire_install') ) 120 xprofile_wire_install(); 119 121 120 122 update_site_option( 'bp-xprofile-db-version', BP_XPROFILE_DB_VERSION ); … … 139 141 140 142 require_once( ABSPATH . 'wp-admin/upgrade-functions.php' ); 141 142 143 dbDelta($sql); 143 144 } … … 200 201 if ( get_site_option('bp-xprofile-db-version') < BP_XPROFILE_DB_VERSION ) 201 202 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();205 203 } 206 204 add_action( 'admin_menu', 'xprofile_add_admin_menu' );
Note: See TracChangeset
for help on using the changeset viewer.