Skip to content
Snippets Groups Projects
Commit 394cb8d9 authored by uhensler's avatar uhensler
Browse files

OO-4333: Default settings of participation and report in survey course node

parent f677e799
No related branches found
No related tags found
No related merge requests found
......@@ -197,14 +197,14 @@ public class SurveyCourseNode extends AbstractAccessableCourseNode {
public void updateModuleConfigDefaults(boolean isNewNode) {
ModuleConfiguration config = getModuleConfiguration();
if (isNewNode) {
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_OWNER, true);
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_COACH, true);
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_OWNER, false);
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_COACH, false);
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_PARTICIPANT, true);
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_GUEST, true);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_OWNER, true);
config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_GUEST, false);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_OWNER, false);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_COACH, true);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_PARTICIPANT, true);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_GUEST, true);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_PARTICIPANT, false);
config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_GUEST, false);
}
config.setConfigurationVersion(CURRENT_VERSION);
}
......
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