callback.failed(ureq);
return;
}
// create empty run structure
course = CourseFactory.openCourseEditSession(course.getResourceableId());
Structure runStructure = course.getRunStructure();
runStructure.getRootNode().removeAllChildren();
CourseFactory.saveCourse(course.getResourceableId());
//CourseFactory.closeCourseEditSession(course.getResourceableId());
} else if (event.equals(Event.CANCELLED_EVENT)) {