mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-24 05:19:53 +08:00
Removing unused services from TagsPartDriver
--HG-- branch : 1.x
This commit is contained in:
parent
d4122ed192
commit
f1192cb372
@ -4,7 +4,6 @@ using JetBrains.Annotations;
|
||||
using Orchard.ContentManagement;
|
||||
using Orchard.ContentManagement.Drivers;
|
||||
using Orchard.ContentManagement.Handlers;
|
||||
using Orchard.Security;
|
||||
using Orchard.Tags.Helpers;
|
||||
using Orchard.Tags.Models;
|
||||
using Orchard.Tags.Services;
|
||||
@ -15,15 +14,9 @@ namespace Orchard.Tags.Drivers {
|
||||
public class TagsPartDriver : ContentPartDriver<TagsPart> {
|
||||
private const string TemplateName = "Parts/Tags";
|
||||
private readonly ITagService _tagService;
|
||||
private readonly IAuthorizationService _authorizationService;
|
||||
private readonly IOrchardServices _orchardServices;
|
||||
|
||||
public TagsPartDriver(ITagService tagService,
|
||||
IAuthorizationService authorizationService,
|
||||
IOrchardServices orchardServices) {
|
||||
public TagsPartDriver(ITagService tagService) {
|
||||
_tagService = tagService;
|
||||
_authorizationService = authorizationService;
|
||||
_orchardServices = orchardServices;
|
||||
}
|
||||
|
||||
protected override string Prefix {
|
||||
|
Loading…
Reference in New Issue
Block a user