Changeset 7522 for trunk/bp-members/bp-members-notifications.php
- Timestamp:
- 11/07/2013 05:21:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-notifications.php
r7521 r7522 33 33 } 34 34 35 return bp_notifications_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false ); 35 $args = array( 36 'item_id' => $item_id, 37 'user_id' => $user_id, 38 'component_name' => $component_name, 39 'component_action' => $component_action, 40 'secondary_item_id' => $secondary_item_id, 41 'date_notified' => $date_notified 42 ); 43 44 return bp_notifications_add_notification( $args ); 36 45 } 37 46 … … 50 59 } 51 60 52 return bp_notifications_delete_notification( $id );61 return BP_Notifications_Notification::delete_by_id( $id ); 53 62 } 54 63
Note: See TracChangeset
for help on using the changeset viewer.