소스 검색

Oops - uncomment code

Eric Reed 11 년 전
부모
커밋
4abdc02aa1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.Common.Implementations/Security/MBRegistration.cs

+ 1 - 1
MediaBrowser.Common.Implementations/Security/MBRegistration.cs

@@ -49,7 +49,7 @@ namespace MediaBrowser.Common.Implementations.Security
         public static async Task<MBRegistrationRecord> GetRegistrationStatus(IHttpClient httpClient, IJsonSerializer jsonSerializer, string feature, string mb2Equivalent = null, string version = null)
         {
             //check the reg file first to alleviate strain on the MB admin server - must actually check in every 30 days tho
-            var reg = new RegRecord {/*registered = LicenseFile.LastChecked(feature) > DateTime.UtcNow.AddDays(-30)*/};
+            var reg = new RegRecord {registered = LicenseFile.LastChecked(feature) > DateTime.UtcNow.AddDays(-30)};
 
             if (!reg.registered)
             {