diff options
| author | Sven Van den brande <sven.vandenbrande@outlook.com> | 2016-03-27 23:11:27 +0200 |
|---|---|---|
| committer | Sven Van den brande <sven.vandenbrande@outlook.com> | 2016-03-27 23:11:27 +0200 |
| commit | 168587b2a0d1f495a9f85e05b1e518f615b0cfcc (patch) | |
| tree | e9675fc086678d780d0a86caa92181173bac9486 /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | |
| parent | e73b418f9da82df8fdb443978228e350b9fe1bf2 (diff) | |
Remove unused code...
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> |
