From b2a8fd82d89684dee1b6848715e5aff28ae36798 Mon Sep 17 00:00:00 2001 From: dkanada Date: Sat, 13 Feb 2021 10:52:50 +0900 Subject: Merge pull request #5216 from jellyfin/remove-old-settings remove deprecated settings from server config (cherry picked from commit 542401c7f490493d202b45ebf7d89b33dae933c0) Signed-off-by: Joshua M. Boniface --- Jellyfin.Api/Controllers/PluginsController.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Jellyfin.Api/Controllers/PluginsController.cs') diff --git a/Jellyfin.Api/Controllers/PluginsController.cs b/Jellyfin.Api/Controllers/PluginsController.cs index b73611c97..644bf144f 100644 --- a/Jellyfin.Api/Controllers/PluginsController.cs +++ b/Jellyfin.Api/Controllers/PluginsController.cs @@ -300,9 +300,7 @@ namespace Jellyfin.Api.Controllers } var imagePath = Path.Combine(plugin.Path, plugin.Manifest.ImagePath ?? string.Empty); - if (((ServerConfiguration)_config.CommonConfiguration).DisablePluginImages - || plugin.Manifest.ImagePath == null - || !System.IO.File.Exists(imagePath)) + if (plugin.Manifest.ImagePath == null || !System.IO.File.Exists(imagePath)) { return NotFound(); } -- cgit v1.2.3