Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/10/2011 06:32:02 AM (14 years ago)
Author:
djpaul
Message:

Tidy up whitespace. Fixes #3466, props cnorris23

File:
1 edited

Legend:

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

    r4948 r4961  
    263263    }
    264264
    265     function step_ms_update() {     
     265    function step_ms_update() {
    266266        if ( !current_user_can( 'activate_plugins' ) )
    267267            return false;
     
    371371
    372372        $existing_pages = bp_core_update_get_page_meta();
    373        
     373
    374374        // Provide empty indexes to avoid PHP errors with wp_dropdown_pages()
    375375        $indexes = array( 'members', 'activity', 'groups', 'forums', 'blogs', 'register', 'activate' );
     
    378378                $existing_pages[$index] = '';
    379379        }
    380        
     380
    381381        if ( !empty( $existing_pages['blogs'] ) )
    382382            $existing_blog_page = '&selected=' . $existing_pages['blogs'];
     
    12721272function bp_core_update_do_network_admin() {
    12731273    $do_network_admin = false;
    1274    
     1274
    12751275    if ( is_multisite() && ( !defined( 'BP_ENABLE_MULTIBLOG' ) || !BP_ENABLE_MULTIBLOG ) )
    12761276        $do_network_admin = true;
    1277    
     1277
    12781278    return apply_filters( 'bp_core_do_network_admin', $do_network_admin );
    12791279}
     
    12811281function bp_core_update_admin_hook() {
    12821282    $hook = bp_core_update_do_network_admin() ? 'network_admin_menu' : 'admin_menu';
    1283    
     1283
    12841284    return apply_filters( 'bp_core_admin_hook', $hook );
    12851285}
Note: See TracChangeset for help on using the changeset viewer.