Explorar o código

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

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback %!s(int64=4) %!d(string=hai) anos
pai
achega
9bf970e5c6
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  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);
                     }
                 }
             }