Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 08:54:02 PM (11 years ago)
Author:
boonebgorges
Message:

Abstracts user_meta keys so that they can be filtered. Fixes #2952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-loader.php

    r4321 r4372  
    7171            'table_name_meta' => $bp->table_prefix . 'bp_friends_meta',
    7272        );
     73       
     74        // User meta keys
     75        $user_meta_keys = array(
     76            'total_friend_count'                => 'total_friend_count',
     77            'notification_friends_friendship_request'   => 'notification_friends_friendship_request',
     78            'notification_friends_friendship_accepted'  => 'notification_friends_friendship_accepted'
     79        );
    7380
    7481        // All globals for the friends component.
     
    8087            'notification_callback' => 'friends_format_notifications',
    8188            'global_tables'         => $global_tables,
     89            'user_meta_keys'    => $user_meta_keys
    8290        );
    8391
Note: See TracChangeset for help on using the changeset viewer.