From 7881a9d97c60be1928bf54ef4dc68b43f3242947 Mon Sep 17 00:00:00 2001 From: SuperPotatoMen Date: Fri, 9 Dec 2016 00:49:59 +0100 Subject: [PATCH] Workaround for #748 --- .../Migrations/Version1100.cs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/PlexRequests.Core.Migration/Migrations/Version1100.cs b/PlexRequests.Core.Migration/Migrations/Version1100.cs index 15c127d6e..ab028f847 100644 --- a/PlexRequests.Core.Migration/Migrations/Version1100.cs +++ b/PlexRequests.Core.Migration/Migrations/Version1100.cs @@ -238,18 +238,18 @@ namespace PlexRequests.Core.Migration.Migrations // UI = https://image.tmdb.org/t/p/w150/{{posterPath}} // Update old invalid posters - var allRequests = RequestService.GetAll().ToList(); - - foreach (var req in allRequests) - { - if (req.PosterPath.Contains("https://image.tmdb.org/t/p/w150/")) - { - var newImg = req.PosterPath.Replace("https://image.tmdb.org/t/p/w150/", string.Empty); - req.PosterPath = newImg; - } - } - RequestService.BatchUpdate(allRequests); - } + // var allRequests = RequestService.GetAll().ToList(); + + // foreach (var req in allRequests) + // { + // if (req.PosterPath.Contains("https://image.tmdb.org/t/p/w150/")) + // { + // var newImg = req.PosterPath.Replace("https://image.tmdb.org/t/p/w150/", string.Empty); + // req.PosterPath = newImg; + // } + // } + // RequestService.BatchUpdate(allRequests); + // } private void UpdateAdmin() {