mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
commit
7bea62adbf
@ -83,8 +83,6 @@ namespace Emby.Server.Implementations.Activity
|
|||||||
|
|
||||||
_deviceManager.CameraImageUploaded += OnCameraImageUploaded;
|
_deviceManager.CameraImageUploaded += OnCameraImageUploaded;
|
||||||
|
|
||||||
_appHost.ApplicationUpdated += OnApplicationUpdated;
|
|
||||||
|
|
||||||
return Task.CompletedTask;
|
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)
|
private void OnUserPolicyUpdated(object sender, GenericEventArgs<User> e)
|
||||||
{
|
{
|
||||||
CreateLogEntry(new ActivityLogEntry
|
CreateLogEntry(new ActivityLogEntry
|
||||||
@ -460,8 +448,6 @@ namespace Emby.Server.Implementations.Activity
|
|||||||
_userManager.UserLockedOut -= OnUserLockedOut;
|
_userManager.UserLockedOut -= OnUserLockedOut;
|
||||||
|
|
||||||
_deviceManager.CameraImageUploaded -= OnCameraImageUploaded;
|
_deviceManager.CameraImageUploaded -= OnCameraImageUploaded;
|
||||||
|
|
||||||
_appHost.ApplicationUpdated -= OnApplicationUpdated;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -154,11 +154,6 @@ namespace Emby.Server.Implementations
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public event EventHandler HasPendingRestartChanged;
|
public event EventHandler HasPendingRestartChanged;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Occurs when [application updated].
|
|
||||||
/// </summary>
|
|
||||||
public event EventHandler<GenericEventArgs<PackageVersionInfo>> ApplicationUpdated;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether this instance has changes that require the entire application to restart.
|
/// Gets a value indicating whether this instance has changes that require the entire application to restart.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -25,11 +25,6 @@ namespace MediaBrowser.Common
|
|||||||
/// <value>The device identifier.</value>
|
/// <value>The device identifier.</value>
|
||||||
string SystemId { get; }
|
string SystemId { get; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Occurs when [application updated].
|
|
||||||
/// </summary>
|
|
||||||
event EventHandler<GenericEventArgs<PackageVersionInfo>> ApplicationUpdated;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether this instance has pending kernel reload.
|
/// Gets or sets a value indicating whether this instance has pending kernel reload.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user