The Free Software Media System - Server Backend & API
Rename PackageInstallationFailedLogger to have more consistent naming.
Patrick Barrondcf97efaf8f2
diff --git a/Jellyfin.Server.Implementations/Events/Consumers/Updates/PackageInstallationFailedLogger.cs b/Jellyfin.Server.Implementations/Events/Consumers/Updates/PluginInstallationFailedLogger.cssimilarity index 84%rename from Jellyfin.Server.Implementations/Events/Consumers/Updates/PackageInstallationFailedLogger.csrename to Jellyfin.Server.Implementations/Events/Consumers/Updates/PluginInstallationFailedLogger.csindex 5d7296b3b7..d71c298c54 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.csindex 84181f4fee..de9dc08afa 100644--- a/Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs+++ b/Jellyfin.Server.Implementations/Events/EventingServiceCollectionExtensions.cs@@ -43,7 +43,7 @@ namespace Jellyfin.Server.Implementations.Eventscollection.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>();