diff --git a/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs b/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs index 8ac7eec2b6..f71abd6aa7 100644 --- a/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs +++ b/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs @@ -1013,14 +1013,6 @@ namespace Umbraco.Web.PublishedCache.NuCache // i think this used to but it doesn't seem bad anymore that I can see... while (child.NextSiblingContentId > 0) { - if (child.NextSiblingContentId == content.Id) - { - content.PreviousSiblingContentId = child.Id; - child = content; - continue; - } - - // get next child var nextChildLink = GetRequiredLinkedNode(child.NextSiblingContentId, "next child", null); var nextChild = nextChildLink.Value;