Changeset 3186 for branches/1.2/bp-messages.php
- Timestamp:
- 08/12/2010 06:33:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-messages.php
r3166 r3186 67 67 68 68 function messages_setup_globals() { 69 global $bp , $wpdb;69 global $bp; 70 70 71 71 /* For internal identification */ 72 72 $bp->messages->id = 'messages'; 73 73 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 77 80 $bp->messages->format_notification_function = 'messages_format_notifications'; 78 $bp->messages->slug = BP_MESSAGES_SLUG;79 81 80 82 /* Register this in the active components array */ … … 86 88 87 89 function messages_check_installed() { 88 global $ wpdb, $bp;90 global $bp; 89 91 90 92 if ( !is_site_admin() )
Note: See TracChangeset
for help on using the changeset viewer.