Changeset 5684 for trunk/bp-activity/bp-activity-notifications.php
- Timestamp:
- 02/09/2012 10:10:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-notifications.php
r5595 r5684 19 19 * @param int $receiver_user_id The unique user_id of the user who is receiving the update 20 20 * 21 * @global object $bp BuddyPress global settings22 21 * @uses bp_core_add_notification() 23 22 * @uses bp_get_user_meta() … … 40 39 */ 41 40 function bp_activity_at_message_notification( $activity_id, $receiver_user_id ) { 42 global $bp;43 41 44 42 // Don't leave multiple notifications for the same activity item … … 120 118 * @param array $params {@link bp_activity_new_comment()} 121 119 * 122 * @global object $bp BuddyPress global settings123 120 * @uses bp_get_user_meta() 124 121 * @uses bp_core_get_user_displayname() … … 142 139 */ 143 140 function bp_activity_new_comment_notification( $comment_id, $commenter_id, $params ) { 144 global $bp; 141 142 // Set some default parameters 143 $activity_id = 0; 144 $parent_id = 0; 145 145 146 146 extract( $params );
Note: See TracChangeset
for help on using the changeset viewer.