From 37bd77761a1a8533efa5b1468f1d18b713dc899d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20G=C3=A4rtner?= <andreas.gaertner@hotmail.com> Date: Fri, 5 Feb 2016 03:10:55 +0100 Subject: [PATCH] Remove obsolet config property "students-own-questions" --- .../de/thm/arsnova/controller/ConfigurationController.java | 4 ---- src/main/resources/arsnova.properties.example | 1 - src/test/resources/arsnova.properties.example | 1 - 3 files changed, 6 deletions(-) diff --git a/src/main/java/de/thm/arsnova/controller/ConfigurationController.java b/src/main/java/de/thm/arsnova/controller/ConfigurationController.java index eebf99f8..610dc2e3 100644 --- a/src/main/java/de/thm/arsnova/controller/ConfigurationController.java +++ b/src/main/java/de/thm/arsnova/controller/ConfigurationController.java @@ -82,9 +82,6 @@ public class ConfigurationController extends AbstractController { @Value("${features.mathjax.src:}") private String mathJaxSrc; - @Value("${features.students-own-questions.enabled:false}") - private String studentsOwnQuestions; - @Value("${features.freetext-imageanswer.enabled:false}") private String imageAnswerEnabled; @@ -223,7 +220,6 @@ public class ConfigurationController extends AbstractController { features.put("mathJax", "true".equals(mathJaxEnabled)); /* Keep the markdown property for now since the frontend still depends on it */ features.put("markdown", true); - features.put("studentsOwnQuestions", "true".equals(studentsOwnQuestions)); features.put("imageAnswer", "true".equals(imageAnswerEnabled)); features.put("gridSquare", "true".equals(gridSquareEnabled)); features.put("sessionImportExport", "true".equals(sessionImportExportEnabled)); diff --git a/src/main/resources/arsnova.properties.example b/src/main/resources/arsnova.properties.example index 2dc5421a..b81d3369 100644 --- a/src/main/resources/arsnova.properties.example +++ b/src/main/resources/arsnova.properties.example @@ -181,7 +181,6 @@ features.mathjax.src=//cdn.mathjax.org/mathjax/2.4-latest/MathJax.js # tested in a production environment over a longer time frame and/or their # behavior will change in future releases. # -features.students-own-questions.enabled=true features.freetext-imageanswer.enabled=true features.question-format.grid-square.enabled=true diff --git a/src/test/resources/arsnova.properties.example b/src/test/resources/arsnova.properties.example index 2dc5421a..b81d3369 100644 --- a/src/test/resources/arsnova.properties.example +++ b/src/test/resources/arsnova.properties.example @@ -181,7 +181,6 @@ features.mathjax.src=//cdn.mathjax.org/mathjax/2.4-latest/MathJax.js # tested in a production environment over a longer time frame and/or their # behavior will change in future releases. # -features.students-own-questions.enabled=true features.freetext-imageanswer.enabled=true features.question-format.grid-square.enabled=true -- GitLab