浏览代码

Remove stray datamember

cvium 3 年之前
父节点
当前提交
0b871505a6
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Jellyfin.Server/Migrations/PreStartupRoutines/CreateNetworkConfiguration.cs

+ 0 - 2
Jellyfin.Server/Migrations/PreStartupRoutines/CreateNetworkConfiguration.cs

@@ -1,6 +1,5 @@
 using System;
 using System;
 using System.IO;
 using System.IO;
-using System.Runtime.Serialization;
 using System.Xml;
 using System.Xml;
 using System.Xml.Serialization;
 using System.Xml.Serialization;
 using Emby.Server.Implementations;
 using Emby.Server.Implementations;
@@ -111,7 +110,6 @@ public class CreateNetworkConfiguration : IMigrationRoutine
 
 
         public bool EnableIPV6 { get; set; }
         public bool EnableIPV6 { get; set; }
 
 
-        [DataMember(Name = "EnableIPV4")]
         public bool EnableIPV4 { get; set; } = true;
         public bool EnableIPV4 { get; set; } = true;
 
 
         public bool IgnoreVirtualInterfaces { get; set; } = true;
         public bool IgnoreVirtualInterfaces { get; set; } = true;