Browse Source

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

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback 4 years ago
parent
commit
9bf970e5c6
1 changed files with 1 additions and 5 deletions
  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);
                     }
                 }
             }