Merge pull request #5799 from mvarblow/patch-5

Code clean-up in TermCountProcessor.cs
This commit is contained in:
Sipke Schoorstra
2015-09-13 13:42:39 +01:00

View File

@@ -1,17 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement;
using Orchard.Taxonomies.Models;
namespace Orchard.Taxonomies.Services {
public class TermCountProcessor : ITermCountProcessor {
private readonly IContentManager _contentManager;
private readonly ITaxonomyService _taxonomyService;
public TermCountProcessor(IContentManager contentManager, ITaxonomyService taxonomyService) {
_contentManager = contentManager;
public TermCountProcessor(ITaxonomyService taxonomyService) {
_taxonomyService = taxonomyService;
}
@@ -31,4 +25,4 @@ namespace Orchard.Taxonomies.Services {
}
}
}
}
}