- Timestamp:
- 05/27/2016 05:56:01 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-functions.php
r10806 r10816 99 99 */ 100 100 function bp_notifications_delete_notification( $id ) { 101 if ( ! bp_notifications_check_notification_access( bp_ loggedin_user_id(), $id ) ) {101 if ( ! bp_notifications_check_notification_access( bp_displayed_user_id(), $id ) ) { 102 102 return false; 103 103 } … … 118 118 */ 119 119 function bp_notifications_mark_notification( $id, $is_new = false ) { 120 if ( ! bp_notifications_check_notification_access( bp_ loggedin_user_id(), $id ) ) {120 if ( ! bp_notifications_check_notification_access( bp_displayed_user_id(), $id ) ) { 121 121 return false; 122 122 }
Note: See TracChangeset
for help on using the changeset viewer.