Changeset 8662 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/22/2014 06:13:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r8316 r8662 306 306 if ( count( groups_get_group_admins( $group_id ) ) < 2 ) { 307 307 if ( groups_is_user_admin( $user_id, $group_id ) ) { 308 bp_core_add_message( __( 'As the only Admin, you cannot leave the group.', 'buddypress' ), 'error' );308 bp_core_add_message( __( 'As the only admin, you cannot leave the group.', 'buddypress' ), 'error' ); 309 309 return false; 310 310 }
Note: See TracChangeset
for help on using the changeset viewer.