mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
Merge pull request #5799 from mvarblow/patch-5
Code clean-up in TermCountProcessor.cs
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user