Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/23/2021 02:03:02 AM (3 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Notifications (component) files.

See #8553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/bp-notifications-cache.php

    r12518 r13091  
    3131        'object_column'    => 'notification_id',
    3232        'meta_table'       => buddypress()->notifications->table_name_meta,
    33         'cache_key_prefix' => 'bp_notifications_meta'
     33        'cache_key_prefix' => 'bp_notifications_meta',
    3434    ) );
    3535}
     
    5353 * @since 2.0.0
    5454 *
    55  * @param BP_Notifications_Notification $n Notification object.
     55 * @param BP_Notifications_Notification $notification Notification object.
    5656 */
    57 function bp_notifications_clear_all_for_user_cache_after_save( BP_Notifications_Notification $n ) {
    58     bp_notifications_clear_all_for_user_cache( $n->user_id );
     57function bp_notifications_clear_all_for_user_cache_after_save( $notification ) {
     58    bp_notifications_clear_all_for_user_cache( $notification->user_id );
    5959}
    6060add_action( 'bp_notification_after_save', 'bp_notifications_clear_all_for_user_cache_after_save' );
Note: See TracChangeset for help on using the changeset viewer.