Skip to content
Snippets Groups Projects
Commit 6a646fe0 authored by srosse's avatar srosse
Browse files

no-jira: load the homepage configuration only if needed

parent 7ef05b64
No related branches found
No related tags found
No related merge requests found
...@@ -105,10 +105,10 @@ public class UserVOFactory { ...@@ -105,10 +105,10 @@ public class UserVOFactory {
} }
} }
HomePageConfig hpc = isAdmin ? null : HomePageConfigManagerImpl.getInstance().loadConfigFor(identity.getName());
if(allProperties) { if(allProperties) {
UserManager um = UserManager.getInstance(); UserManager um = UserManager.getInstance();
HomePageConfig hpc = isAdmin ? null : HomePageConfigManagerImpl.getInstance().loadConfigFor(identity.getName());
List<UserPropertyHandler> propertyHandlers = um.getUserPropertyHandlersFor(UserWebService.PROPERTY_HANDLER_IDENTIFIER, false); List<UserPropertyHandler> propertyHandlers = um.getUserPropertyHandlersFor(UserWebService.PROPERTY_HANDLER_IDENTIFIER, false);
for (UserPropertyHandler propertyHandler : propertyHandlers) { for (UserPropertyHandler propertyHandler : propertyHandlers) {
String propName = propertyHandler.getName(); String propName = propertyHandler.getName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment