Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/14/2011 11:49:17 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Switch verbiage from 'upgrade' to 'update' and adjust is_multisite() admin_menu/network_admin_menu action checks. Also rename bp-core-upgrade.php to bp-core-update.php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-bbpress.php

    r3369 r3713  
    6565    /* This must be loaded before functionss.bb-admin.php otherwise we get a function conflict. */
    6666    if ( !$tables_installed = (boolean) $bbdb->get_results( 'DESCRIBE `' . $bbdb->forums . '`;', ARRAY_A ) )
    67         require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
     67        require_once( ABSPATH . 'wp-admin/includes/update.php' );
    6868
    6969    require_once( BB_PATH . 'bb-admin/includes/functions.bb-admin.php' );
     
    9797        dbDelta( str_replace( ' IF NOT EXISTS', '', str_replace( '`', '', $bb_queries ) ) );
    9898
    99         require_once( BB_PATH . 'bb-admin/includes/functions.bb-upgrade.php' );
     99        require_once( BB_PATH . 'bb-admin/includes/functions.bb-update.php' );
    100100        bb_update_db_version();
    101101
Note: See TracChangeset for help on using the changeset viewer.