diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-01-11 15:57:40 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2015-01-11 15:57:40 -0500 |
| commit | 76edf138de9f746738dcf107c51b558b7df0de21 (patch) | |
| tree | dd1b7494b4610250a798a0bcc2c4ab3608c6572b /MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs | |
| parent | 3e1131dbad1f7c72e75cce4de1821546cc2d84e1 (diff) | |
| parent | 518119d9cd8a54eb0fbe018d826f7d379b30f057 (diff) | |
Merge pull request #974 from MediaBrowser/dev
3.0.5490.0
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs index dac0b0d15..f9a141da3 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs @@ -18,7 +18,6 @@ namespace MediaBrowser.Server.Implementations.EntryPoints public class UsageEntryPoint : IServerEntryPoint { private readonly IApplicationHost _applicationHost; - private readonly INetworkManager _networkManager; private readonly IHttpClient _httpClient; private readonly ILogger _logger; private readonly ISessionManager _sessionManager; @@ -29,11 +28,10 @@ namespace MediaBrowser.Server.Implementations.EntryPoints private readonly ConcurrentDictionary<Guid, ClientInfo> _apps = new ConcurrentDictionary<Guid, ClientInfo>(); - public UsageEntryPoint(ILogger logger, IApplicationHost applicationHost, INetworkManager networkManager, IHttpClient httpClient, ISessionManager sessionManager, IUserManager userManager) + public UsageEntryPoint(ILogger logger, IApplicationHost applicationHost, IHttpClient httpClient, ISessionManager sessionManager, IUserManager userManager) { _logger = logger; _applicationHost = applicationHost; - _networkManager = networkManager; _httpClient = httpClient; _sessionManager = sessionManager; _userManager = userManager; @@ -68,7 +66,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints { try { - await new UsageReporter(_applicationHost, _networkManager, _httpClient, _userManager) + await new UsageReporter(_applicationHost, _httpClient, _userManager) .ReportAppUsage(client, CancellationToken.None) .ConfigureAwait(false); } @@ -110,7 +108,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints { try { - await new UsageReporter(_applicationHost, _networkManager, _httpClient, _userManager) + await new UsageReporter(_applicationHost, _httpClient, _userManager) .ReportServerUsage(CancellationToken.None) .ConfigureAwait(false); } |
