remove unused notification type

This commit is contained in:
dkanada 2021-01-12 12:28:21 +09:00
parent aaf889f683
commit cac33ef105
2 changed files with 0 additions and 9 deletions

View File

@ -75,10 +75,6 @@ namespace Emby.Notifications
Type = NotificationType.VideoPlaybackStopped.ToString() Type = NotificationType.VideoPlaybackStopped.ToString()
}, },
new NotificationTypeInfo new NotificationTypeInfo
{
Type = NotificationType.CameraImageUploaded.ToString()
},
new NotificationTypeInfo
{ {
Type = NotificationType.UserLockedOut.ToString() Type = NotificationType.UserLockedOut.ToString()
}, },
@ -114,10 +110,6 @@ namespace Emby.Notifications
{ {
note.Category = _localization.GetLocalizedString("Plugin"); 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) else if (note.Type.IndexOf("UserLockedOut", StringComparison.OrdinalIgnoreCase) != -1)
{ {
note.Category = _localization.GetLocalizedString("User"); note.Category = _localization.GetLocalizedString("User");

View File

@ -18,7 +18,6 @@ namespace MediaBrowser.Model.Notifications
NewLibraryContent, NewLibraryContent,
ServerRestartRequired, ServerRestartRequired,
TaskFailed, TaskFailed,
CameraImageUploaded,
UserLockedOut UserLockedOut
} }
} }