Skip to content

Commit

Permalink
Fix #332 - Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
jack7anderson7 committed Apr 3, 2024
1 parent 8794495 commit a9821fa
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ public function map(
$params['return_relationship'] = $relationshipName;
}

if (!empty($relationshipName)) {
$params['return_relationship'] = $relationshipName;
}

if ($relationshipName === 'activities' && $parentModule === 'Contacts') {
$params['return_relationship'] = $parentModule;
}
Expand Down

0 comments on commit a9821fa

Please sign in to comment.