浏览代码

Remove DlnaEntryPoint.Enabled

Patrick Barron 1 年之前
父节点
当前提交
2e1b8ea62d
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      Emby.Dlna/Main/DlnaEntryPoint.cs

+ 0 - 7
Emby.Dlna/Main/DlnaEntryPoint.cs

@@ -103,11 +103,6 @@ namespace Emby.Dlna.Main
             }
         }
 
-        /// <summary>
-        /// Gets a value indicating whether the dlna server is enabled.
-        /// </summary>
-        public static bool Enabled { get; private set; }
-
         public async Task RunAsync()
         {
             await ((DlnaManager)_dlnaManager).InitProfilesAsync().ConfigureAwait(false);
@@ -134,8 +129,6 @@ namespace Emby.Dlna.Main
         private void ReloadComponents()
         {
             var options = _config.GetDlnaConfiguration();
-            Enabled = options.EnableServer;
-
             StartSsdpHandler();
 
             if (options.EnableServer)