Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2015 06:02:55 AM (9 years ago)
Author:
tw2113
Message:

More docs cleanup for Notifications component.

See #6404.

File:
1 edited

Legend:

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

    r10138 r10303  
    33 * Functions related to notifications caching.
    44 *
    5  * @since 2.0.0
    6  *
    75 * @package BuddyPress
    86 * @subpackage NotificationsCache
     7 * @since 2.0.0
    98 */
    109
     
    6867function bp_notifications_clear_all_for_user_cache_before_delete( $args ) {
    6968
    70     // Pull up a list of items matching the args (those about te be deleted)
     69    // Pull up a list of items matching the args (those about te be deleted).
    7170    $ns = BP_Notifications_Notification::get( $args );
    7271
     
    9392function bp_notifications_clear_all_for_user_cache_before_update( $update_args, $where_args ) {
    9493
    95     // User ID is passed in where arugments
     94    // User ID is passed in where arugments.
    9695    if ( ! empty( $where_args['user_id'] ) ) {
    9796        bp_notifications_clear_all_for_user_cache( $where_args['user_id'] );
    9897
    99     // Get user ID from Notification ID
     98    // Get user ID from Notification ID.
    10099    } elseif ( ! empty( $where_args['id'] ) ) {
    101100        $n = bp_notifications_get_notification( $where_args['id'] );
Note: See TracChangeset for help on using the changeset viewer.