mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
Fix #332 - Remove duplicate code
This commit is contained in:
parent
8794495851
commit
a9821fa7ae
1 changed files with 0 additions and 4 deletions
|
@ -124,10 +124,6 @@ class CreateButtonMapper implements SubpanelButtonMapperInterface
|
|||
$params['return_relationship'] = $relationshipName;
|
||||
}
|
||||
|
||||
if (!empty($relationshipName)) {
|
||||
$params['return_relationship'] = $relationshipName;
|
||||
}
|
||||
|
||||
if ($relationshipName === 'activities' && $parentModule === 'Contacts') {
|
||||
$params['return_relationship'] = $parentModule;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue