aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
diff options
context:
space:
mode:
authorSven Van den brande <sven.vandenbrande@outlook.com>2016-03-27 23:11:27 +0200
committerSven Van den brande <sven.vandenbrande@outlook.com>2016-03-27 23:11:27 +0200
commit168587b2a0d1f495a9f85e05b1e518f615b0cfcc (patch)
treee9675fc086678d780d0a86caa92181173bac9486 /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
parente73b418f9da82df8fdb443978228e350b9fe1bf2 (diff)
Remove unused code...
Diffstat (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs')
-rw-r--r--MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs4
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>