Skip to content

Commit

Permalink
Merge pull request #41 from Geta/feature/removed-unused-parameter
Browse files Browse the repository at this point in the history
Removed unused DefaultCategoryContentLoader construct parameter
  • Loading branch information
ErvinsA authored Jan 31, 2025
2 parents 3f06ae0 + b72ee9a commit 04082f1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ public class DefaultCategoryContentLoader : ICategoryContentLoader
{
protected readonly IContentRepository ContentRepository;
protected readonly LanguageResolver LanguageResolver;
protected readonly CategorySettings CategorySettings;
public DefaultCategoryContentLoader(IContentRepository contentRepository, LanguageResolver languageResolver, CategorySettings categorySettings)
public DefaultCategoryContentLoader(IContentRepository contentRepository, LanguageResolver languageResolver)
{
ContentRepository = contentRepository;
LanguageResolver = languageResolver;
CategorySettings = categorySettings;
}

public virtual T Get<T>(ContentReference categoryLink) where T : CategoryData
Expand Down

0 comments on commit 04082f1

Please sign in to comment.