diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-03-31 12:45:15 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2016-03-31 12:45:15 -0400 |
| commit | 4f6c50244b9547601e4a2da891090e4a9fd5cb23 (patch) | |
| tree | 30252268405738fc3d01b45ee99330093efc79df /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | |
| parent | 0be3fdc062ab218ba5702f065b4bee565850c402 (diff) | |
| parent | e61014aa881c0720a9b3a3f9bddab702ddd44671 (diff) | |
Merge pull request #1613 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs index a6dbf77e9..af58c3731 100644 --- a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs +++ b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs @@ -299,7 +299,7 @@ namespace MediaBrowser.Common.Implementations.Security }; record.TrialVersion = IsInTrial(reg.expDate, record.RegChecked, record.IsRegistered); - record.IsValid = !record.RegChecked || (record.IsRegistered || record.TrialVersion); + record.IsValid = !record.RegChecked || record.IsRegistered || record.TrialVersion; return record; } @@ -314,7 +314,7 @@ namespace MediaBrowser.Common.Implementations.Security var isInTrial = expirationDate > DateTime.UtcNow; - return (isInTrial && !isRegistered); + return isInTrial && !isRegistered; } /// <summary> |
