Skip to:
Content

BuddyPress.org

Changeset 3364 for trunk/bp-messages.php


Ignore:
Timestamp:
11/06/2010 05:54:55 PM (16 years ago)
Author:
boonebgorges
Message:

Allows admins to allow message Componse To: autocomplete to include all members of the site. Fixes #2419, props r-a-y for the initial patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages.php

    r3357 r3364  
    1111                define ( 'BP_MESSAGES_SLUG', 'messages' );
    1212
    13         /* For internal identification */
     13        // For internal identification
    1414        $bp->messages->id = 'messages';
    1515
     
    2020        $bp->messages->format_notification_function = 'messages_format_notifications';
    2121
    22         /* Register this in the active components array */
     22        // Register this in the active components array
    2323        $bp->active_components[$bp->messages->slug] = $bp->messages->id;
     24
     25        // Include all members in the To: autocomplete?
     26        $bp->messages->autocomplete_all = defined( 'BP_MESSAGES_AUTOCOMPLETE_ALL' ) ? true : false;
    2427
    2528        do_action( 'messages_setup_globals' );
Note: See TracChangeset for help on using the changeset viewer.