aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Activity/ActivityManager.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-11 12:03:10 +0200
committerBond_009 <bond.009@outlook.com>2020-04-11 12:03:10 +0200
commit49fe5e0a21907797248daada0a0446b37bb304ba (patch)
treebc8b861c1e746ce116600b1cf62ac26fc9f19274 /Emby.Server.Implementations/Activity/ActivityManager.cs
parent29539174a3de47c151cc7c7fd192100e6fbe48d7 (diff)
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/Activity/ActivityManager.cs')
-rw-r--r--Emby.Server.Implementations/Activity/ActivityManager.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/Activity/ActivityManager.cs b/Emby.Server.Implementations/Activity/ActivityManager.cs
index ee10845cf..c1d8dd8da 100644
--- a/Emby.Server.Implementations/Activity/ActivityManager.cs
+++ b/Emby.Server.Implementations/Activity/ActivityManager.cs
@@ -11,22 +11,17 @@ namespace Emby.Server.Implementations.Activity
{
public class ActivityManager : IActivityManager
{
- public event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
-
private readonly IActivityRepository _repo;
- private readonly ILogger _logger;
private readonly IUserManager _userManager;
- public ActivityManager(
- ILoggerFactory loggerFactory,
- IActivityRepository repo,
- IUserManager userManager)
+ public ActivityManager(IActivityRepository repo, IUserManager userManager)
{
- _logger = loggerFactory.CreateLogger(nameof(ActivityManager));
_repo = repo;
_userManager = userManager;
}
+ public event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
+
public void Create(ActivityLogEntry entry)
{
entry.Date = DateTime.UtcNow;