Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #14740

Merged
merged 4 commits into from
Nov 24, 2023
Merged

Cleanup #14740

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Metadata;
Expand All @@ -16,22 +14,16 @@ namespace OrchardCore.Users.Services;
public class CustomUserSettingsService
{
private readonly IContentManager _contentManager;
private readonly IHttpContextAccessor _httpContextAccessor;
private readonly IAuthorizationService _authorizationService;
private readonly IContentDefinitionManager _contentDefinitionManager;
private readonly Lazy<IDictionary<string, ContentTypeDefinition>> _settingsTypes;
private readonly YesSql.ISession _session;

public CustomUserSettingsService(
IContentManager contentManager,
IHttpContextAccessor httpContextAccessor,
IAuthorizationService authorizationService,
IContentDefinitionManager contentDefinitionManager,
YesSql.ISession session)
ISession session)
{
_contentManager = contentManager;
_httpContextAccessor = httpContextAccessor;
_authorizationService = authorizationService;
_contentDefinitionManager = contentDefinitionManager;
_settingsTypes = new Lazy<IDictionary<string, ContentTypeDefinition>>(
() => _contentDefinitionManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Threading.Tasks;
using OrchardCore.Environment.Shell.Scope;
using static System.Formats.Asn1.AsnWriter;

namespace OrchardCore.Environment.Shell
{
Expand Down