mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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.ContentManagement;
|
||||||
using Orchard.Taxonomies.Models;
|
using Orchard.Taxonomies.Models;
|
||||||
|
|
||||||
namespace Orchard.Taxonomies.Services {
|
namespace Orchard.Taxonomies.Services {
|
||||||
public class TermCountProcessor : ITermCountProcessor {
|
public class TermCountProcessor : ITermCountProcessor {
|
||||||
private readonly IContentManager _contentManager;
|
|
||||||
private readonly ITaxonomyService _taxonomyService;
|
private readonly ITaxonomyService _taxonomyService;
|
||||||
|
|
||||||
public TermCountProcessor(IContentManager contentManager, ITaxonomyService taxonomyService) {
|
public TermCountProcessor(ITaxonomyService taxonomyService) {
|
||||||
_contentManager = contentManager;
|
|
||||||
_taxonomyService = taxonomyService;
|
_taxonomyService = taxonomyService;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,4 +25,4 @@ namespace Orchard.Taxonomies.Services {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user