diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2021-02-13 10:52:50 +0900 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2021-02-21 13:30:31 -0500 |
| commit | b2a8fd82d89684dee1b6848715e5aff28ae36798 (patch) | |
| tree | 6bc126be31f434d907a266f42bb6e1ecdee45cd6 /Jellyfin.Api/Controllers/PluginsController.cs | |
| parent | d53120602cadb57431bed8f7e74c1874179ac1f1 (diff) | |
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 <joshua@boniface.me>
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 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(); } |
