Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/12/2010 06:33:05 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2561 props wpmuguru

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-friends.php

    r3172 r3186  
    3434
    3535function friends_setup_globals() {
    36     global $bp, $wpdb;
     36    global $bp;
    3737
    3838    /* For internal identification */
    3939    $bp->friends->id = 'friends';
    4040
    41     $bp->friends->table_name = $wpdb->base_prefix . 'bp_friends';
     41    $bp->friends->slug = BP_FRIENDS_SLUG;
     42
     43    $bp->friends->table_name = $bp->table_prefix . 'bp_friends';
     44
    4245    $bp->friends->format_notification_function = 'friends_format_notifications';
    43     $bp->friends->slug = BP_FRIENDS_SLUG;
    4446
    4547    /* Register this in the active components array */
     
    5153
    5254function friends_check_installed() {
    53     global $wpdb, $bp;
     55    global $bp;
    5456
    5557    if ( !is_site_admin() )
Note: See TracChangeset for help on using the changeset viewer.