From 97f4fd8ad76938fb2924209eb36aa381aafcaacd Mon Sep 17 00:00:00 2001 From: Jacek Date: Mon, 22 Mar 2021 15:44:07 +0100 Subject: [PATCH] Drop unused organization properties --- .../core/config/CorePropertyDefinitions.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) 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; } } -- 2.39.5