remove deprecated settings from server config

This commit is contained in:
dkanada
2021-02-12 21:58:37 +09:00
parent 76d66e0dee
commit 9fcdbd4c4b
3 changed files with 1 additions and 15 deletions

View File

@@ -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();
}