diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2021-02-13 10:52:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-13 10:52:50 +0900 |
| commit | 542401c7f490493d202b45ebf7d89b33dae933c0 (patch) | |
| tree | 0edcb08a0a3031bdd0488c4a48c4c88e0e99dc25 /Jellyfin.Api/Controllers/PluginsController.cs | |
| parent | 0a8587295e85dca553dcb8167b98cc89d4443fa1 (diff) | |
| parent | 9fcdbd4c4b79560cb22f6f27182b4c36606dae79 (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.cs | 4 |
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(); } |
