Changeset 1021 for trunk/bp-xprofile/bp-xprofile-notifications.php
- Timestamp:
- 02/06/2009 03:07:48 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-notifications.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-notifications.php
r565 r1021 22 22 global $bp, $current_user; 23 23 24 if ( $bp ['current_component'] == $bp['wire']['slug']&& !bp_is_home() ) {24 if ( $bp->current_component == $bp->wire->slug && !bp_is_home() ) { 25 25 bp_core_add_notification( $poster_id, $user_id, 'xprofile', 'new_wire_post' ); 26 26 27 if ( !get_usermeta( $bp ['loggedin_userid'], 'notification_profile_wire_post' ) || get_usermeta( $bp['loggedin_userid'], 'notification_profile_wire_post' ) == 'yes' ) {27 if ( !get_usermeta( $bp->loggedin_user->id, 'notification_profile_wire_post' ) || get_usermeta( $bp->loggedin_user->id, 'notification_profile_wire_post' ) == 'yes' ) { 28 28 $poster_name = bp_fetch_user_fullname( $poster_id, false ); 29 $wire_post = new BP_Wire_Post( $bp ['profile']['table_name_wire'], $wire_post_id, true );29 $wire_post = new BP_Wire_Post( $bp->profile->table_name_wire, $wire_post_id, true ); 30 30 $ud = get_userdata($user_id); 31 31
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)