mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Oops - uncomment code
This commit is contained in:
parent
d005a7a152
commit
4abdc02aa1
@ -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)
|
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
|
//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)
|
if (!reg.registered)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user