Skip to content

Commit

Permalink
Issue backdrop-contrib#51: Revert breaking change.
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoxela authored Apr 9, 2022
1 parent f92c8f6 commit fe452c1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions og.module
Original file line number Diff line number Diff line change
Expand Up @@ -2118,13 +2118,6 @@ function og_group($group_type, $gid, $values = array(), $save_created = TRUE) {
// Save the membership for update, or if the OG membership is new when
// "save-created" is TRUE.
$og_membership->save();

// Also populate the group audience field on the entity for data
// consistency.
// @see https://www.drupal.org/project/og/issues/2148047
if ($field_name) {
$wrapper->{$field_name}[] = $gid;
}
}

return $og_membership;
Expand Down

0 comments on commit fe452c1

Please sign in to comment.