Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2009 09:14:59 PM (17 years ago)
Author:
apeatling
Message:

Fixed bug with rejecting group invites. Added support for mass deleting notifications and invites when a group is deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-notifications.php

    r1052 r1082  
    8181}
    8282
     83function bp_core_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) {
     84    return BP_Core_Notification::delete_all_by_type( $item_id, $component_name, $component_action, $secondary_item_id );
     85}
     86
    8387function bp_core_check_notification_access( $user_id, $notification_id ) {
    8488    if ( !BP_Core_Notification::check_access( $user_id, $notification_id ) )
Note: See TracChangeset for help on using the changeset viewer.