Skip to content
Snippets Groups Projects
Commit 5f7883ed authored by srosse's avatar srosse
Browse files

OO-2046: missing max. number of selectable user interests

parent 5b28ebe1
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,8 @@ public class UserPropertiesConfigImpl implements UserPropertiesConfig, Initializ
}
LogModule.setUserProperties(userProperties);
}
@Override
public int getMaxNumOfInterests() {
return maxNumOfInterests;
}
......
......@@ -12,6 +12,7 @@
Configure the users properties, forms and tables
-->
<bean id="org.olat.user.UserPropertiesConfig" class="org.olat.user.propertyhandlers.UserPropertiesConfigImpl" init-method="init">
<property name="maxNumOfInterests" value="${user.interests.max.number:5}" />
<property name="userPropertyHandlers">
<list>
<ref bean="userPropertyUserName" />
......
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