Skip to content

Commit

Permalink
removed unused logger
Browse files Browse the repository at this point in the history
  • Loading branch information
eglia committed Jul 20, 2020
1 parent 3dc2e96 commit 36c47f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Request-Auth/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
{
public static Plugin Instance { get; private set; }
public static ILogger Logger{get; private set;}
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer, ILogger logger) : base(applicationPaths, xmlSerializer){
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) : base(applicationPaths, xmlSerializer){
Instance = this;
Logger = logger;
}

public override string Name => "Request-Auth";
Expand Down
4 changes: 2 additions & 2 deletions Request-Auth/Request-Auth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Jellyfin.Plugin.Request_Auth</RootNamespace>
<AssemblyVersion>1.1.0</AssemblyVersion>
<AssemblyVersion>1.1.1</AssemblyVersion>
<FileVersion>1.1.0</FileVersion>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
</PropertyGroup>
<ItemGroup>
<None Remove="Config\configPage.html" />
Expand Down
3 changes: 0 additions & 3 deletions Request-Auth/RequestAuthenticationProviderPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@
using MediaBrowser.Model.Cryptography;
using Jellyfin.Data.Entities;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;

namespace Jellyfin.Plugin.Request_Auth
{
public class RequestAuthenticationProviderPlugin : IAuthenticationProvider, IRequiresResolvedUser
{
private readonly PluginConfiguration _config;
private readonly ILogger _logger;
private readonly ICryptoProvider _cryptographyProvider;
public RequestAuthenticationProviderPlugin(ICryptoProvider cryptographyProvider)
{
_config = Plugin.Instance.Configuration;
_logger = Plugin.Logger;
_cryptographyProvider = cryptographyProvider;
}

Expand Down

0 comments on commit 36c47f3

Please sign in to comment.