aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-15 23:12:34 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-15 23:12:34 -0400
commit25437af594bbac517ab3a9bfef26e2b4af7ee899 (patch)
treea9815037fa349c188c901887271ddd69d212e643 /Emby.Server.Implementations/EntryPoints
parent4478945e20e0861c720a1035778f3f13be90226d (diff)
Migrate ServerEventNotifier.OnPackageInstallationFailed to IEventConsumer
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints')
-rw-r--r--Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs b/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
index 247bb87c7..549e1d569 100644
--- a/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
+++ b/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
@@ -38,7 +38,6 @@ namespace Emby.Server.Implementations.EntryPoints
{
_installationManager.PackageInstallationCancelled += OnPackageInstallationCancelled;
_installationManager.PackageInstallationCompleted += OnPackageInstallationCompleted;
- _installationManager.PackageInstallationFailed += OnPackageInstallationFailed;
return Task.CompletedTask;
}
@@ -53,11 +52,6 @@ namespace Emby.Server.Implementations.EntryPoints
await SendMessageToAdminSessions("PackageInstallationCompleted", e).ConfigureAwait(false);
}
- private async void OnPackageInstallationFailed(object sender, InstallationFailedEventArgs e)
- {
- await SendMessageToAdminSessions("PackageInstallationFailed", e.InstallationInfo).ConfigureAwait(false);
- }
-
private async Task SendMessageToAdminSessions<T>(string name, T data)
{
try
@@ -86,7 +80,6 @@ namespace Emby.Server.Implementations.EntryPoints
{
_installationManager.PackageInstallationCancelled -= OnPackageInstallationCancelled;
_installationManager.PackageInstallationCompleted -= OnPackageInstallationCompleted;
- _installationManager.PackageInstallationFailed -= OnPackageInstallationFailed;
}
}
}