mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Merge pull request #5004 from jellyfin/camera-upload
remove unused notification type
This commit is contained in:
commit
bffebce909
@ -75,10 +75,6 @@ namespace Emby.Notifications
|
||||
Type = NotificationType.VideoPlaybackStopped.ToString()
|
||||
},
|
||||
new NotificationTypeInfo
|
||||
{
|
||||
Type = NotificationType.CameraImageUploaded.ToString()
|
||||
},
|
||||
new NotificationTypeInfo
|
||||
{
|
||||
Type = NotificationType.UserLockedOut.ToString()
|
||||
},
|
||||
@ -114,10 +110,6 @@ namespace Emby.Notifications
|
||||
{
|
||||
note.Category = _localization.GetLocalizedString("Plugin");
|
||||
}
|
||||
else if (note.Type.IndexOf("CameraImageUploaded", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
note.Category = _localization.GetLocalizedString("Sync");
|
||||
}
|
||||
else if (note.Type.IndexOf("UserLockedOut", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
note.Category = _localization.GetLocalizedString("User");
|
||||
|
@ -18,7 +18,6 @@ namespace MediaBrowser.Model.Notifications
|
||||
NewLibraryContent,
|
||||
ServerRestartRequired,
|
||||
TaskFailed,
|
||||
CameraImageUploaded,
|
||||
UserLockedOut
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user