Changeset 11763 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 12/08/2017 12:22:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r11762 r11763 355 355 if ( !$group->save() ) 356 356 return false; 357 358 // If forums have been enabled, and a forum does not yet exist, we need to create one.359 if ( $group->enable_forum ) {360 if ( bp_is_active( 'forums' ) && !groups_get_groupmeta( $group->id, 'forum_id' ) ) {361 groups_new_group_forum( $group->id, $group->name, $group->description );362 }363 }364 357 365 358 // Set the invite status.
Note: See TracChangeset
for help on using the changeset viewer.