Skip to content

Commit

Permalink
feat(Locales) #30387 : Remove hyphens from Feature Flag name (#30388)
Browse files Browse the repository at this point in the history
### Proposed Changes
* Removing hyphens from Feature Flag name as they don't play well with
the env var naming convention.
  • Loading branch information
jcastro-dotcms authored Oct 18, 2024
1 parent e42386d commit 819640c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public class RoleAjax {
private final UserWebAPI userWebAPI;

private static final Lazy<Boolean> HIDE_OLD_LANGUAGES_PORTLET =
Lazy.of(() -> Config.getBooleanProperty("FEATURE_FLAG_LOCALES_HIDE-OLD-LANGUAGES-PORTLET", true));
Lazy.of(() -> Config.getBooleanProperty("FEATURE_FLAG_LOCALES_HIDE_OLD_LANGUAGES_PORTLET", true));

private static final ObjectMapper mapper = DotObjectMapperProvider.getInstance()
.getDefaultObjectMapper();
Expand Down

0 comments on commit 819640c

Please sign in to comment.