Changeset 4804 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/22/2011 05:02:46 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-functions.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r4801 r4804 124 124 125 125 if ( $notify_members ) { 126 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );127 126 groups_notification_group_updated( $group->id ); 128 127 } … … 520 519 'item_id' => $group_id 521 520 ) ); 522 523 // Require the notifications code so email notifications can be set on524 // the 'bp_activity_posted_update' action.525 require( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );526 521 527 522 groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() ); … … 774 769 $admins = groups_get_group_admins( $group_id ); 775 770 776 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );777 778 771 // Saved okay, now send the email notification 779 772 for ( $i = 0, $count = count( $admins ); $i < $count; ++$i ) … … 819 812 820 813 // Send a notification to the user. 821 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );822 814 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, true ); 823 815 … … 832 824 833 825 // Send a notification to the user. 834 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );835 826 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, false ); 836 827
Note: See TracChangeset
for help on using the changeset viewer.