Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/18/2012 06:03:00 PM (12 years ago)
Author:
r-a-y
Message:

EOF:

  • Fall in line with WordPress 3.4 coding practices by removing all EOF closing PHP tags.
File:
1 edited

Legend:

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

    r5966 r6342  
    243243    $bp_prefix       = bp_core_get_table_prefix();
    244244
    245     // These values should only be updated if they are not already present 
    246     if ( !$base_group_name = bp_get_option( 'bp-xprofile-base-group-name' ) ) { 
    247         bp_update_option( 'bp-xprofile-base-group-name', _x( 'Base', 'First XProfile group name', 'buddypress' ) ); 
    248     } 
    249 
    250     if ( !$fullname_field_name = bp_get_option( 'bp-xprofile-fullname-field-name' ) ) { 
    251         bp_update_option( 'bp-xprofile-fullname-field-name', _x( 'Name', 'XProfile fullname field name', 'buddypress' ) ); 
    252     } 
     245    // These values should only be updated if they are not already present
     246    if ( !$base_group_name = bp_get_option( 'bp-xprofile-base-group-name' ) ) {
     247        bp_update_option( 'bp-xprofile-base-group-name', _x( 'Base', 'First XProfile group name', 'buddypress' ) );
     248    }
     249
     250    if ( !$fullname_field_name = bp_get_option( 'bp-xprofile-fullname-field-name' ) ) {
     251        bp_update_option( 'bp-xprofile-fullname-field-name', _x( 'Name', 'XProfile fullname field name', 'buddypress' ) );
     252    }
    253253
    254254    $sql[] = "CREATE TABLE {$bp_prefix}bp_xprofile_groups (
     
    347347 *
    348348 * @global WPDB $wpdb
    349  * @global BuddyPress $bp 
     349 * @global BuddyPress $bp
    350350 */
    351351function bp_update_db_stuff() {
     
    387387
    388388}
    389 
    390 ?>
Note: See TracChangeset for help on using the changeset viewer.