Skip to:
Content

BuddyPress.org

Ticket #3482: 3482.diff

File 3482.diff, 880 bytes (added by wpmuguru, 14 years ago)
  • bp-core-update.php

     
    747747                        bp_core_install();
    748748
    749749                        if ( $this->database_version < 1801 )
    750                                 $this->update_1_3();
     750                                $this->update_1_5();
    751751
    752752                        // Update the active components option early if we're updating
    753753                        if ( 'update' == $this->setup_type )
     
    10551055        }
    10561056
    10571057        // Database update methods based on version numbers
    1058         function update_1_3() {
     1058        function update_1_5() {
    10591059                // Delete old database version options
    10601060                delete_site_option( 'bp-activity-db-version' );
    10611061                delete_site_option( 'bp-blogs-db-version'    );
     
    13231323add_action( 'admin_notices', 'bp_core_update_nag', 5 );
    13241324add_action( 'network_admin_notices', 'bp_core_update_nag', 5 );
    13251325
    1326 ?>
    1327  No newline at end of file
     1326?>