Skip to:
Content

BuddyPress.org

Changeset 3737


Ignore:
Timestamp:
01/18/2011 11:30:20 PM (14 years ago)
Author:
djpaul
Message:

Make sure database schema is always refreshed on updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r3736 r3737  
    791791            check_admin_referer( 'bpwizard_db_update' );
    792792
     793            // Run the schema install to update tables
     794            bp_core_install();
     795
    793796            if ( $this->current_version < 1225 )
    794797                $this->update_1_3();
     
    10591062    // Database update methods based on version numbers
    10601063    function update_1_3() {
    1061         // Run the schema install to update tables
    1062         bp_core_install();
    1063 
    10641064        // Delete old database version options
    10651065        delete_site_option( 'bp-activity-db-version' );
Note: See TracChangeset for help on using the changeset viewer.