Skip to content

Commit

Permalink
Remove duplicate condition in LinkFieldIndexProvider.Describe() (Orch…
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored Jun 5, 2024
1 parent 5ebeb7e commit ab07490
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ public override void Describe(DescribeContext<ContentItem> context)
return null;
}
if (!contentItem.Latest && !contentItem.Published)
{
return null;
}
// Lazy initialization because of ISession cyclic dependency
_contentDefinitionManager ??= _serviceProvider.GetRequiredService<IContentDefinitionManager>();
Expand Down

0 comments on commit ab07490

Please sign in to comment.