From f41387f19d1c35aea340c869002851c14d0912f8 Mon Sep 17 00:00:00 2001 From: Michal Kleiner Date: Fri, 20 Dec 2019 10:51:49 +1300 Subject: [PATCH] Remove $cascase_delete so that terms don't get removed with the relation --- src/Extensions/DataObjectTaxonomiesDataExtension.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Extensions/DataObjectTaxonomiesDataExtension.php b/src/Extensions/DataObjectTaxonomiesDataExtension.php index cdf16a9..be2f02a 100644 --- a/src/Extensions/DataObjectTaxonomiesDataExtension.php +++ b/src/Extensions/DataObjectTaxonomiesDataExtension.php @@ -45,11 +45,6 @@ class DataObjectTaxonomiesDataExtension extends DataExtension 'Tags', ]; - // Delete the joining objects when the owner gets deleted - private static $cascade_deletes = [ - 'Tags', - ]; - // Duplicate the joining objects when the owner gets duplicated private static $cascade_duplicates = [ 'Tags',