diff options
| author | Anthony Lavado <anthonylavado@users.noreply.github.com> | 2019-04-18 14:16:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-18 14:16:48 -0400 |
| commit | 7bea62adbfc7350c01a222cb92c86c13c0b43412 (patch) | |
| tree | ff6270fa44b6977fd64485bc16f79f0c78b1c361 /Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs | |
| parent | c3532b92f7bd3e2bdba8c9a2aaf9ebf06016b322 (diff) | |
| parent | 8f703f4744b2701843e316210263c8e4cd3256bd (diff) | |
Merge pull request #1245 from Bond-009/updateevent
Remove unused event
Diffstat (limited to 'Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs')
| -rw-r--r-- | Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs index 98cd97c31..190e4d55c 100644 --- a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs +++ b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs @@ -83,8 +83,6 @@ namespace Emby.Server.Implementations.Activity _deviceManager.CameraImageUploaded += OnCameraImageUploaded; - _appHost.ApplicationUpdated += OnApplicationUpdated; - return Task.CompletedTask; } @@ -275,16 +273,6 @@ namespace Emby.Server.Implementations.Activity }); } - private void OnApplicationUpdated(object sender, GenericEventArgs<PackageVersionInfo> e) - { - CreateLogEntry(new ActivityLogEntry - { - Name = string.Format(_localization.GetLocalizedString("MessageApplicationUpdatedTo"), e.Argument.versionStr), - Type = NotificationType.ApplicationUpdateInstalled.ToString(), - Overview = e.Argument.description - }); - } - private void OnUserPolicyUpdated(object sender, GenericEventArgs<User> e) { CreateLogEntry(new ActivityLogEntry @@ -460,8 +448,6 @@ namespace Emby.Server.Implementations.Activity _userManager.UserLockedOut -= OnUserLockedOut; _deviceManager.CameraImageUploaded -= OnCameraImageUploaded; - - _appHost.ApplicationUpdated -= OnApplicationUpdated; } /// <summary> |
