Changeset 4775 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/22/2011 07:32:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r4770 r4775 124 124 125 125 if ( $notify_members ) { 126 require _once( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );126 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 127 127 groups_notification_group_updated( $group->id ); 128 128 } … … 523 523 // Require the notifications code so email notifications can be set on 524 524 // the 'bp_activity_posted_update' action. 525 require _once( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );525 require( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 526 526 527 527 groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() ); … … 636 636 global $bp; 637 637 638 require _once( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );638 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 639 639 640 640 if ( !$user_id ) … … 776 776 $admins = groups_get_group_admins( $group_id ); 777 777 778 require _once( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );778 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 779 779 780 780 // Saved okay, now send the email notification … … 821 821 822 822 // Send a notification to the user. 823 require _once( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );823 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 824 824 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, true ); 825 825 … … 834 834 835 835 // Send a notification to the user. 836 require _once( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );836 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 837 837 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, false ); 838 838
Note: See TracChangeset
for help on using the changeset viewer.