Skip to content

Commit

Permalink
Merge pull request #4 from xini/fix-cascade-duplicates
Browse files Browse the repository at this point in the history
add cascade_duplicates to relations
  • Loading branch information
dizzystuff authored Oct 25, 2021
2 parents 7f510aa + 6c5b67b commit a5c7d00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Extensions/MenuSetParentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ class MenuSetParentExtension extends DataExtension
'MenuSets'
];

private static $cascade_duplicates = [
'MenuSets'
];

public function updateCMSFields(FieldList $fields)
{
$fields->removeByName('MenuSets');
Expand Down

0 comments on commit a5c7d00

Please sign in to comment.