aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/PluginsController.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-12 21:58:37 +0900
committerdkanada <dkanada@users.noreply.github.com>2021-02-12 21:58:37 +0900
commit9fcdbd4c4b79560cb22f6f27182b4c36606dae79 (patch)
tree97cf6292ee0bad47ce6cab63dfbee91c89a7c99e /Jellyfin.Api/Controllers/PluginsController.cs
parent76d66e0dee62998a211c4f720e8f2800458d7f23 (diff)
remove deprecated settings from server config
Diffstat (limited to 'Jellyfin.Api/Controllers/PluginsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/PluginsController.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Jellyfin.Api/Controllers/PluginsController.cs b/Jellyfin.Api/Controllers/PluginsController.cs
index b2e8bee91..a5aa9bfca 100644
--- a/Jellyfin.Api/Controllers/PluginsController.cs
+++ b/Jellyfin.Api/Controllers/PluginsController.cs
@@ -298,9 +298,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();
}