Changeset 1910 for trunk/bp-wire/bp-wire-templatetags.php
- Timestamp:
- 09/21/2009 09:37:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire/bp-wire-templatetags.php
r1905 r1910 23 23 if ( $bp->current_component == $bp->wire->slug ) { 24 24 $this->table_name = $bp->profile->table_name_wire; 25 26 // If the user is viewing their own wire, delete the notifications.27 if ( 'all-posts' == $bp->current_action && bp_is_home() )28 bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, 'xprofile', 'new_wire_post' );29 30 25 } else 31 26 $this->table_name = $bp->{$bp->active_components[$component_slug]}->table_name_wire;
Note: See TracChangeset
for help on using the changeset viewer.