From d320017e3c4d00db57bf4fe9436b92d8f244aee1 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 26 Jul 2019 17:46:30 -0700 Subject: [PATCH] Cleanup migration 131 --- .../Datastore/Migration/131_download_propers_config.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Datastore/Migration/131_download_propers_config.cs b/src/NzbDrone.Core/Datastore/Migration/131_download_propers_config.cs index fdf1a363b..bda215ac6 100644 --- a/src/NzbDrone.Core/Datastore/Migration/131_download_propers_config.cs +++ b/src/NzbDrone.Core/Datastore/Migration/131_download_propers_config.cs @@ -9,11 +9,11 @@ namespace NzbDrone.Core.Datastore.Migration { protected override void MainDbUpgrade() { - Execute.WithConnection(SetMetadataFileExtension); + Execute.WithConnection(SetConfigValue); Execute.Sql("DELETE FROM Config WHERE Key = 'autodownloadpropers'"); } - private void SetMetadataFileExtension(IDbConnection conn, IDbTransaction tran) + private void SetConfigValue(IDbConnection conn, IDbTransaction tran) { using (var cmd = conn.CreateCommand()) {