Changeset 840 for trunk/bp-groups.php
- Timestamp:
- 01/13/2009 12:13:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r832 r840 691 691 692 692 function groups_screen_group_admin_requests() { 693 global $bp ;693 global $bp, $group_obj; 694 694 695 695 if ( $bp['current_component'] == $bp['groups']['slug'] && $bp['action_variables'][0] == 'membership-requests' ) { 696 696 697 if ( !$bp['is_item_admin'] )697 if ( !$bp['is_item_admin'] || $group_obj->status == 'public' ) 698 698 return false; 699 699 700 700 // Remove any screen notifications 701 701 bp_core_delete_notifications_for_user_by_type( $bp['loggedin_userid'], 'groups', 'new_membership_request' );
Note: See TracChangeset
for help on using the changeset viewer.