aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Plugins/PluginManager.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-12-18 21:59:14 +0000
committerGitHub <noreply@github.com>2020-12-18 21:59:14 +0000
commit9bf970e5c6d67a7e55c9faceda042e45ad06b532 (patch)
tree72ade548931440663fbb6bdd5ce4d404bce0914e /Emby.Server.Implementations/Plugins/PluginManager.cs
parenta293024efd5ebf8d04b53de0999da78a64a857e5 (diff)
Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
-rw-r--r--Emby.Server.Implementations/Plugins/PluginManager.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs
index 1fd87273f..d7292f21b 100644
--- a/Emby.Server.Implementations/Plugins/PluginManager.cs
+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs
@@ -629,11 +629,7 @@ namespace Emby.Server.Implementations.Plugins
continue;
}
- if (manifest.Status != PluginStatus.Deleted)
- {
- manifest.Status = PluginStatus.Deleted;
- SaveManifest(manifest, entry.Path);
- }
+ ChangePluginState(entry, PluginStatus.Deleted);
}
}
}