Changeset 3186 for branches/1.2/bp-friends.php
- Timestamp:
- 08/12/2010 06:33:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-friends.php
r3172 r3186 34 34 35 35 function friends_setup_globals() { 36 global $bp , $wpdb;36 global $bp; 37 37 38 38 /* For internal identification */ 39 39 $bp->friends->id = 'friends'; 40 40 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 42 45 $bp->friends->format_notification_function = 'friends_format_notifications'; 43 $bp->friends->slug = BP_FRIENDS_SLUG;44 46 45 47 /* Register this in the active components array */ … … 51 53 52 54 function friends_check_installed() { 53 global $ wpdb, $bp;55 global $bp; 54 56 55 57 if ( !is_site_admin() )
Note: See TracChangeset
for help on using the changeset viewer.