mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-12-27 09:56:33 +00:00
Removed RemoveOldPlugins configuration flag (#13102)
This commit is contained in:
parent
06923cbf2b
commit
f1e020c0b0
|
@ -785,8 +785,6 @@ namespace Emby.Server.Implementations.Plugins
|
||||||
|
|
||||||
var cleaned = false;
|
var cleaned = false;
|
||||||
var path = entry.Path;
|
var path = entry.Path;
|
||||||
if (_config.RemoveOldPlugins)
|
|
||||||
{
|
|
||||||
// Attempt a cleanup of old folders.
|
// Attempt a cleanup of old folders.
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -810,7 +808,6 @@ namespace Emby.Server.Implementations.Plugins
|
||||||
ChangePluginState(entry, PluginStatus.Deleted);
|
ChangePluginState(entry, PluginStatus.Deleted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Only want plugin folders which have files.
|
// Only want plugin folders which have files.
|
||||||
return versions.Where(p => p.DllFiles.Count != 0);
|
return versions.Where(p => p.DllFiles.Count != 0);
|
||||||
|
|
|
@ -243,11 +243,6 @@ public class ServerConfiguration : BaseApplicationConfiguration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int LibraryMetadataRefreshConcurrency { get; set; }
|
public int LibraryMetadataRefreshConcurrency { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets a value indicating whether older plugins should automatically be deleted from the plugin folder.
|
|
||||||
/// </summary>
|
|
||||||
public bool RemoveOldPlugins { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether clients should be allowed to upload logs.
|
/// Gets or sets a value indicating whether clients should be allowed to upload logs.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue