Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/14/2011 11:49:17 PM (15 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-messages/bp-messages-classes.php

    r3542 r3713  
    206206    }
    207207
    208     /* Upgrade Functions */
    209 
    210     function upgrade_tables() {
     208    /* Update Functions */
     209
     210    function update_tables() {
    211211        global $wpdb, $bp;
    212212
     
    214214        $threads = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->base_prefix}bp_messages_threads" ) );
    215215
    216         /* Nothing to upgrade, just return true to remove the table */
     216        /* Nothing to update, just return true to remove the table */
    217217        if ( empty( $threads ) )
    218218            return true;
Note: See TracChangeset for help on using the changeset viewer.