aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/PluginsController.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-13 10:52:50 +0900
committerGitHub <noreply@github.com>2021-02-13 10:52:50 +0900
commit542401c7f490493d202b45ebf7d89b33dae933c0 (patch)
tree0edcb08a0a3031bdd0488c4a48c4c88e0e99dc25 /Jellyfin.Api/Controllers/PluginsController.cs
parent0a8587295e85dca553dcb8167b98cc89d4443fa1 (diff)
parent9fcdbd4c4b79560cb22f6f27182b4c36606dae79 (diff)
Merge pull request #5216 from jellyfin/remove-old-settings
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();
}