aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-15 23:22:26 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-15 23:22:26 -0400
commitdcf97efaf8f24c8ee28c616c8f45263ccaa77b5c (patch)
tree050353aa84ec6a59730c29dbbd6c84ba9a126a18
parenta40064a146da17a49582f7ef1ad754a497725ccc (diff)
Rename PackageInstallationFailedLogger to have more consistent naming.
-rw-r--r--Jellyfin.Server.Implementations/Events/Consumers/Updates/PluginInstallationFailedLogger.cs (renamed from Jellyfin.Server.Implementations/Events/Consumers/Updates/PackageInstallationFailedLogger.cs)6
-rw-r--r--Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/Jellyfin.Server.Implementations/Events/Consumers/Updates/PackageInstallationFailedLogger.cs b/Jellyfin.Server.Implementations/Events/Consumers/Updates/PluginInstallationFailedLogger.cs
index 5d7296b3b..d71c298c5 100644
--- a/Jellyfin.Server.Implementations/Events/Consumers/Updates/PackageInstallationFailedLogger.cs
+++ b/Jellyfin.Server.Implementations/Events/Consumers/Updates/PluginInstallationFailedLogger.cs
@@ -13,17 +13,17 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Updates
/// <summary>
/// Creates an entry in the activity log when a package installation fails.
/// </summary>
- public class PackageInstallationFailedLogger : IEventConsumer<InstallationFailedEventArgs>
+ public class PluginInstallationFailedLogger : IEventConsumer<InstallationFailedEventArgs>
{
private readonly ILocalizationManager _localizationManager;
private readonly IActivityManager _activityManager;
/// <summary>
- /// Initializes a new instance of the <see cref="PackageInstallationFailedLogger"/> class.
+ /// Initializes a new instance of the <see cref="PluginInstallationFailedLogger"/> class.
/// </summary>
/// <param name="localizationManager">The localization manager.</param>
/// <param name="activityManager">The activity manager.</param>
- public PackageInstallationFailedLogger(ILocalizationManager localizationManager, IActivityManager activityManager)
+ public PluginInstallationFailedLogger(ILocalizationManager localizationManager, IActivityManager activityManager)
{
_localizationManager = localizationManager;
_activityManager = activityManager;
diff --git a/Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs b/Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs
index 84181f4fe..de9dc08af 100644
--- a/Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs
+++ b/Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs
@@ -43,7 +43,7 @@ namespace Jellyfin.Server.Implementations.Events
collection.AddScoped<IEventConsumer<PluginInstalledEventArgs>, PluginInstalledLogger>();
collection.AddScoped<IEventConsumer<PluginUninstalledEventArgs>, PluginUninstalledLogger>();
collection.AddScoped<IEventConsumer<PluginUpdatedEventArgs>, PluginUpdatedLogger>();
- collection.AddScoped<IEventConsumer<InstallationFailedEventArgs>, PackageInstallationFailedLogger>();
+ collection.AddScoped<IEventConsumer<InstallationFailedEventArgs>, PluginInstallationFailedLogger>();
collection.AddScoped<IEventConsumer<UserCreatedEventArgs>, UserCreatedLogger>();
collection.AddScoped<IEventConsumer<UserDeletedEventArgs>, UserDeletedLogger>();