Remove 01.patch
This commit is contained in:
parent
62e35e50a9
commit
ffd28d48ce
1 changed files with 0 additions and 28 deletions
|
|
@ -1,28 +0,0 @@
|
|||
diff --git a/src/main/java/stirling/software/SPDF/EE/LicenseKeyChecker.java b/src/main/java/stirling/software/SPDF/EE/LicenseKeyChecker.java
|
||||
index d788504c..df83518d 100644
|
||||
--- a/src/main/java/stirling/software/SPDF/EE/LicenseKeyChecker.java
|
||||
+++ b/src/main/java/stirling/software/SPDF/EE/LicenseKeyChecker.java
|
||||
@@ -44,20 +44,9 @@ public class LicenseKeyChecker {
|
||||
if (!applicationProperties.getPremium().isEnabled()) {
|
||||
premiumEnabledResult = License.NORMAL;
|
||||
} else {
|
||||
- String licenseKey = getLicenseKeyContent(applicationProperties.getPremium().getKey());
|
||||
- if (licenseKey != null) {
|
||||
- premiumEnabledResult = licenseService.verifyLicense(licenseKey);
|
||||
- if (License.ENTERPRISE == premiumEnabledResult) {
|
||||
- log.info("License key is Enterprise.");
|
||||
- } else if (License.PRO == premiumEnabledResult) {
|
||||
- log.info("License key is Pro.");
|
||||
- } else {
|
||||
- log.info("License key is invalid, defaulting to non pro license.");
|
||||
- }
|
||||
- } else {
|
||||
- log.error("Failed to obtain license key content.");
|
||||
- premiumEnabledResult = License.NORMAL;
|
||||
- }
|
||||
+ premiousEnabledResult = License.ENTERPRISE;
|
||||
+ applicationProperties.getEnterpriseEdition().setMaxUsers(Integer.MAX_VALUE);
|
||||
+ log.info("License key is Enterprise.");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue