mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Rename PackageInstallationFailedLogger to have more consistent naming.
This commit is contained in:
parent
a40064a146
commit
dcf97efaf8
@ -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;
|
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user