remove unnecessary service and usings

This commit is contained in:
sbwalker 2024-01-23 13:14:28 -05:00
parent f59f8d1937
commit d9beb4b660

View File

@ -1,10 +1,7 @@
using System; using System;
using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Runtime.Loader;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Memory;
@ -29,16 +26,14 @@ namespace Oqtane.Infrastructure
{ {
private readonly IConfigManager _config; private readonly IConfigManager _config;
private readonly IServiceScopeFactory _serviceScopeFactory; private readonly IServiceScopeFactory _serviceScopeFactory;
private readonly IWebHostEnvironment _environment;
private readonly IMemoryCache _cache; private readonly IMemoryCache _cache;
private readonly IConfigManager _configManager; private readonly IConfigManager _configManager;
private readonly ILogger<DatabaseManager> _filelogger; private readonly ILogger<DatabaseManager> _filelogger;
public DatabaseManager(IConfigManager config, IServiceScopeFactory serviceScopeFactory, IWebHostEnvironment environment, IMemoryCache cache, IConfigManager configManager, ILogger<DatabaseManager> filelogger) public DatabaseManager(IConfigManager config, IServiceScopeFactory serviceScopeFactory, IMemoryCache cache, IConfigManager configManager, ILogger<DatabaseManager> filelogger)
{ {
_config = config; _config = config;
_serviceScopeFactory = serviceScopeFactory; _serviceScopeFactory = serviceScopeFactory;
_environment = environment;
_cache = cache; _cache = cache;
_configManager = configManager; _configManager = configManager;
_filelogger = filelogger; _filelogger = filelogger;