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

no-jira: enable per default WebDAV for learners

parent c0325829
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,9 @@ public class WebDAVModule extends AbstractSpringModule implements ConfigOnOff {
@Value("${webdav.termsfolders.enabled:true}")
private boolean termsFoldersEnabled;
@Value("${webdav.learners.bookmarks.enabled:true}")
private boolean enableLearnersBookmarksCourse;
@Value("${webdav.learners.participatingCourses.enabled:true}")
private boolean enableLearnersParticipatingCourses;
@Autowired
......@@ -92,9 +94,13 @@ public class WebDAVModule extends AbstractSpringModule implements ConfigOnOff {
}
String learnersBookmarksCourseObj = getStringPropertyValue(LEARNERS_BOOKMARKS_COURSE, true);
enableLearnersBookmarksCourse = "true".equals(learnersBookmarksCourseObj);
if(StringHelper.containsNonWhitespace(learnersBookmarksCourseObj)) {
enableLearnersBookmarksCourse = "true".equals(learnersBookmarksCourseObj);
}
String learnersParticipatingCoursesObj = getStringPropertyValue(LEARNERS_PARTICIPATING_COURSES, true);
enableLearnersParticipatingCourses = "true".equals(learnersParticipatingCoursesObj);
if(StringHelper.containsNonWhitespace(learnersParticipatingCoursesObj)) {
enableLearnersParticipatingCourses = "true".equals(learnersParticipatingCoursesObj);
}
}
@Override
......
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