Changeset 2556 for trunk/bp-groups/bp-groups-notifications.php
- Timestamp:
- 02/03/2010 10:44:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-notifications.php
r2537 r2556 7 7 $subject = '[' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '] ' . __( 'Group Details Updated', 'buddypress' ); 8 8 9 foreach ( $group->user_dataset as $user ) { 10 if ( 'no' == get_usermeta( $user->user_id, 'notification_groups_group_updated' ) ) continue; 11 12 $ud = bp_core_get_core_userdata( $user->user_id ); 9 $user_ids = BP_Groups_Member::get_group_member_ids( $this->id ); 10 foreach ( $user_ids as $user_id ) { 11 if ( 'no' == get_usermeta( $user_id, 'notification_groups_group_updated' ) ) continue; 12 13 $ud = bp_core_get_core_userdata( $user_id ); 13 14 14 15 // Set up and send the message … … 16 17 17 18 $group_link = site_url( $bp->groups->slug . '/' . $group->slug ); 18 $settings_link = bp_core_get_user_domain( $user ->user_id ) . 'settings/notifications/';19 $settings_link = bp_core_get_user_domain( $user_id ) . 'settings/notifications/'; 19 20 20 21 $message = sprintf( __(
Note: See TracChangeset
for help on using the changeset viewer.