From e66c76fc3405512b90735b5669278410f7974b1f Mon Sep 17 00:00:00 2001 From: JPVenson Date: Mon, 28 Apr 2025 03:18:08 +0300 Subject: Unified migration handling (#13950) --- .../Migrations/Routines/RemoveDownloadImagesInAdvance.cs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs') diff --git a/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs b/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs index 52fb93d594..477363e0de 100644 --- a/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs +++ b/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs @@ -8,7 +8,10 @@ namespace Jellyfin.Server.Migrations.Routines /// /// Removes the old 'RemoveDownloadImagesInAdvance' from library options. /// + [JellyfinMigration("2025-04-20T13:00:00", nameof(RemoveDownloadImagesInAdvance), "A81F75E0-8F43-416F-A5E8-516CCAB4D8CC")] +#pragma warning disable CS0618 // Type or member is obsolete internal class RemoveDownloadImagesInAdvance : IMigrationRoutine +#pragma warning restore CS0618 // Type or member is obsolete { private readonly ILogger _logger; private readonly ILibraryManager _libraryManager; @@ -19,15 +22,6 @@ namespace Jellyfin.Server.Migrations.Routines _libraryManager = libraryManager; } - /// - public Guid Id => Guid.Parse("{A81F75E0-8F43-416F-A5E8-516CCAB4D8CC}"); - - /// - public string Name => "RemoveDownloadImagesInAdvance"; - - /// - public bool PerformOnNewInstall => false; - /// public void Perform() { -- cgit v1.2.3