aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Plugins/PluginManager.cs
diff options
context:
space:
mode:
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);
}
}
}