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-messages.php

    r3166 r3186  
    6767
    6868function messages_setup_globals() {
    69     global $bp, $wpdb;
     69    global $bp;
    7070
    7171    /* For internal identification */
    7272    $bp->messages->id = 'messages';
    7373
    74     $bp->messages->table_name_messages = $wpdb->base_prefix . 'bp_messages_messages';
    75     $bp->messages->table_name_recipients = $wpdb->base_prefix . 'bp_messages_recipients';
    76     $bp->messages->table_name_notices = $wpdb->base_prefix . 'bp_messages_notices';
     74    $bp->messages->slug = BP_MESSAGES_SLUG;
     75
     76    $bp->messages->table_name_notices    = $bp->table_prefix . 'bp_messages_notices';
     77    $bp->messages->table_name_messages   = $bp->table_prefix . 'bp_messages_messages';
     78    $bp->messages->table_name_recipients = $bp->table_prefix . 'bp_messages_recipients';
     79
    7780    $bp->messages->format_notification_function = 'messages_format_notifications';
    78     $bp->messages->slug = BP_MESSAGES_SLUG;
    7981
    8082    /* Register this in the active components array */
     
    8688
    8789function messages_check_installed() {
    88     global $wpdb, $bp;
     90    global $bp;
    8991
    9092    if ( !is_site_admin() )
Note: See TracChangeset for help on using the changeset viewer.