Skip to content

Commit

Permalink
RA-552:Adding the View Logged in Users functionality to core
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertYiga committed Mar 1, 2021
1 parent 89473ac commit 3c08b65
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions api/src/main/java/org/openmrs/util/CurrentUsers.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import javax.servlet.http.HttpSession;

public class CurrentUsers {


/**
* Initialize the current users list.
*
Expand Down Expand Up @@ -57,13 +55,13 @@ public static List<String> getCurrentUsernames(HttpSession httpSession){
for(String value:currentUsers.values()) {

userNames.add(value);
}
}

}
}

Collections.sort(userNames);
return userNames;
}
}


}

0 comments on commit 3c08b65

Please sign in to comment.