Skip to content
Snippets Groups Projects
Commit d93a3ec7 authored by Daniel Haag's avatar Daniel Haag
Browse files

OPENOLAT-289: mark the old checklist as deprecated

parent 8c422f82
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
<bean id="cl" class="de.bps.course.nodes.cl.ChecklistCourseNodeConfiguration" scope="prototype">
<property name="enabled" value="${course.node.checklist.enabled}" />
<property name="deprecated" value="${course.node.checklist.deprecated}" />
<property name="order" value="220" />
</bean>
......
......@@ -39,6 +39,7 @@ import org.olat.core.configuration.AbstractConfigOnOff;
public abstract class AbstractCourseNodeConfiguration extends AbstractConfigOnOff implements CourseNodeConfiguration {
private int order = 0;
private boolean configDeprecated = false;
private List<String> alternatives;
......@@ -55,9 +56,13 @@ public abstract class AbstractCourseNodeConfiguration extends AbstractConfigOnOf
return order;
}
public void setDeprecated(boolean configDeprecated) {
this.configDeprecated = configDeprecated;
}
@Override
public boolean isDeprecated() {
return false;
return configDeprecated;
}
@Override
......
......@@ -1049,6 +1049,7 @@ paypal.data.format.values=XML,JSON,SOAP11
########################################
course.node.linklist.enabled=true
course.node.checklist.enabled=false
course.node.checklist.deprecated=false
course.node.dateenrollment.enabled=false
# The LTI course element
course.node.basiclti.enabled=true
......
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