From: Jacek Date: Mon, 22 Mar 2021 14:44:07 +0000 (+0100) Subject: Drop unused organization properties X-Git-Tag: 8.9.0.43852~117 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97f4fd8ad76938fb2924209eb36aa381aafcaacd;p=sonarqube.git Drop unused organization properties --- diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index 26532c6bc5d..d3b20eab0f6 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -42,15 +42,6 @@ public class CorePropertyDefinitions { public static final String SONAR_ANALYSIS_DETECTEDSCM = "sonar.analysis.detectedscm"; public static final String SONAR_ANALYSIS_DETECTEDCI = "sonar.analysis.detectedci"; - private static final String CATEGORY_ORGANIZATIONS = "organizations"; - - // TODO remove - @Deprecated - public static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate"; - - // TODO remove - @Deprecated - public static final String ORGANIZATIONS_CREATE_PERSONAL_ORG = "sonar.organizations.createPersonalOrg"; public static final String DISABLE_NOTIFICATION_ON_BUILT_IN_QPROFILES = "sonar.builtInQualityProfiles.disableNotificationOnUpdate"; public static final String PLUGINS_RISK_CONSENT = "sonar.plugins.risk.consent"; @@ -209,16 +200,8 @@ public class CorePropertyDefinitions { .category(CoreProperties.CATEGORY_EXCLUSIONS) .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS_EXCLUSIONS) .multiValues(true) - .build(), - - // ORGANIZATIONS - PropertyDefinition.builder(ORGANIZATIONS_ANYONE_CAN_CREATE) - .name("Allow any authenticated user to create organizations.") - .defaultValue(Boolean.toString(false)) - .category(CATEGORY_ORGANIZATIONS) - .type(BOOLEAN) - .hidden() .build())); + return defs; } }