浏览代码

Update Emby.Server.Implementations/Plugins/PluginManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback 4 年之前
父节点
当前提交
9bf970e5c6
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      Emby.Server.Implementations/Plugins/PluginManager.cs

+ 1 - 5
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);
                     }
                 }
             }