Changeset 5712 for trunk/bp-friends/bp-friends-activity.php
- Timestamp:
- 02/11/2012 04:42:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-activity.php
r5437 r5712 1 1 <?php 2 2 3 /** 3 * These functions handle the recording, deleting and formatting of activity and 4 * notifications for the user and for this specific component. 4 * BuddyPress Friends Activity Functions 5 * 6 * These functions handle the recording, deleting and formatting of activity 7 * for the user and for this specific component. 8 * 9 * @package BuddyPress 10 * @subpackage FriendsActivity 5 11 */ 6 12 … … 37 43 38 44 if ( bp_is_active( 'activity' ) ) { 39 extract( (array) $args );45 extract( (array) $args ); 40 46 bp_activity_delete_by_item_id( array( 'item_id' => $item_id, 'component' => $bp->friends->id, 'type' => $type, 'user_id' => $user_id ) ); 41 47 } … … 71 77 */ 72 78 function friends_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { 73 global $bp;74 79 75 80 switch ( $action ) { … … 110 115 'link' => $link, 111 116 'text' => $text 112 ), (int) $total_items );117 ), (int) $total_items ); 113 118 } 114 119
Note: See TracChangeset
for help on using the changeset viewer.