Skip to content

Commit

Permalink
Putting back commented out code at: Visit validator should prevent or
Browse files Browse the repository at this point in the history
allow overlapping of visits depending on global property - TRUNK-3963
  • Loading branch information
dkayiwa committed Mar 7, 2014
1 parent bab6e3e commit b853f9c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions api/src/main/java/org/openmrs/util/OpenmrsConstants.java
Expand Up @@ -1552,10 +1552,8 @@ public static final List<GlobalProperty> CORE_GLOBAL_PROPERTIES() {
props.add(new GlobalProperty(GLOBAL_PROPERTY_USER_REQUIRE_EMAIL_AS_USERNAME, "false",
"Indicates whether a username must be a valid e-mail or not.", BooleanDatatype.class, null));

// TODO - understand how global properties work, what is defined in this class and what is stored in the DB?

// props.add(new GlobalProperty(GLOBAL_PROPERTY_ALLOW_OVERLAPPING_VISITS, "true",
// "true/false whether or not to allow visits of a given patient to overlap", BooleanDatatype.class, null));
props.add(new GlobalProperty(GLOBAL_PROPERTY_ALLOW_OVERLAPPING_VISITS, "true",
"true/false whether or not to allow visits of a given patient to overlap", BooleanDatatype.class, null));

for (GlobalProperty gp : ModuleFactory.getGlobalProperties()) {
props.add(gp);
Expand Down

0 comments on commit b853f9c

Please sign in to comment.