소스 검색

Should have been in base config

Eric Reed 12 년 전
부모
커밋
c76c74fb24
2개의 변경된 파일9개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 1
      MediaBrowser.Model/Configuration/BaseApplicationConfiguration.cs
  2. 1 7
      MediaBrowser.Model/Configuration/ServerConfiguration.cs

+ 8 - 1
MediaBrowser.Model/Configuration/BaseApplicationConfiguration.cs

@@ -1,4 +1,5 @@
-using ProtoBuf;
+using MediaBrowser.Model.Updates;
+using ProtoBuf;
 
 namespace MediaBrowser.Model.Configuration
 {
@@ -38,6 +39,12 @@ namespace MediaBrowser.Model.Configuration
         [ProtoMember(3)]
         public bool EnableAutoUpdate { get; set; }
 
+        /// <summary>
+        /// Gets of sets a value indicating the level of system updates (Release, Beta, Dev)
+        /// </summary>
+        [ProtoMember(60)]
+        public PackageVersionClass SystemUpdateLevel { get; set; }
+
         /// <summary>
         /// The number of days we should retain log files
         /// </summary>

+ 1 - 7
MediaBrowser.Model/Configuration/ServerConfiguration.cs

@@ -300,13 +300,7 @@ namespace MediaBrowser.Model.Configuration
         [ProtoMember(57)]
         public bool EnableDeveloperTools { get; set; }
 
-        /// <summary>
-        /// Gets of sets a value indicating the level of system updates (Release, Beta, Dev)
-        /// </summary>
-        [ProtoMember(59)]
-        public PackageVersionClass SystemUpdateLevel { get; set; }
-        
-        // Next Proto number ====> 60
+        // Next Proto number ====> 61
 
         /// <summary>
         /// Initializes a new instance of the <see cref="ServerConfiguration" /> class.