Skip to content

Commit 4114c67

Browse files
Undo deleting relation
1 parent 4260849 commit 4114c67

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Umbraco.Commerce.Checkout/Events/SetStoreCheckoutRelation.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ private void EnsureStoreCheckoutStoreRelation(IContent storeRootPage, IContent c
5656
{
5757
IRelationType? relationType = relationService.GetRelationTypeByAlias(UmbracoCommerceCheckoutConstants.RelationTypes.Aliases.StoreCheckout);
5858

59-
if (relationType != null)
60-
{
61-
relationService.Delete(relationType);
62-
relationType = null;
63-
}
64-
6559
if (relationType == null)
6660
{
6761
relationType = new RelationType(

0 commit comments

Comments
 (0)