From d65f641609a57affaaf66b8dc2c2e65d11a2a84e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 17 Aug 2017 00:13:20 -0400 Subject: [PATCH] correct noop implementation --- .../NoopImplementations/NoopLicensingService.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Core/Services/NoopImplementations/NoopLicensingService.cs b/src/Core/Services/NoopImplementations/NoopLicensingService.cs index a8fb0fce1..a9d5222e5 100644 --- a/src/Core/Services/NoopImplementations/NoopLicensingService.cs +++ b/src/Core/Services/NoopImplementations/NoopLicensingService.cs @@ -18,14 +18,9 @@ namespace Bit.Core.Services } } - public bool VerifyLicense(ILicense license) + public Task ValidateOrganizationsAsync() { - return true; - } - - public bool VerifyOrganizationPlan(Organization organization) - { - return true; + return Task.FromResult(0); } public Task ValidateUserPremiumAsync(User user) @@ -33,6 +28,11 @@ namespace Bit.Core.Services return Task.FromResult(user.Premium); } + public bool VerifyLicense(ILicense license) + { + return true; + } + public byte[] SignLicense(ILicense license) { return new byte[0];