diff --git a/src/main/java/org/olat/modules/appointments/ui/TopicCreateController.java b/src/main/java/org/olat/modules/appointments/ui/TopicCreateController.java index f3a65eea1a29d56f2c4e22de43486a9ad0b695c8..8debc9042100e268d5aebf9a3ac5fa327839e810 100644 --- a/src/main/java/org/olat/modules/appointments/ui/TopicCreateController.java +++ b/src/main/java/org/olat/modules/appointments/ui/TopicCreateController.java @@ -52,7 +52,6 @@ import org.olat.core.id.Identity; import org.olat.core.util.DateUtils; import org.olat.core.util.StringHelper; import org.olat.modules.appointments.Appointment; -import org.olat.modules.appointments.AppointmentsSecurityCallback; import org.olat.modules.appointments.AppointmentsService; import org.olat.modules.appointments.Topic; import org.olat.modules.appointments.Topic.Type; @@ -90,7 +89,6 @@ public class TopicCreateController extends FormBasicController { private RepositoryEntry entry; private String subIdent; - private AppointmentsSecurityCallback secCallback; private Topic topic; private List<Identity> coaches; private List<AppointmentWrapper> appointmentWrappers; @@ -105,10 +103,9 @@ public class TopicCreateController extends FormBasicController { @Autowired private UserManager userManager; - public TopicCreateController(UserRequest ureq, WindowControl wControl, AppointmentsSecurityCallback secCallback, - RepositoryEntry entry, String subIdent) { + public TopicCreateController(UserRequest ureq, WindowControl wControl, RepositoryEntry entry, + String subIdent) { super(ureq, wControl); - this.secCallback = secCallback; this.entry = entry; this.subIdent = subIdent; diff --git a/src/main/java/org/olat/modules/appointments/ui/TopicsRunCoachController.java b/src/main/java/org/olat/modules/appointments/ui/TopicsRunCoachController.java index 8e81506b6c3ddbc3fa366e19bc1771323b99f716..6ee545185be0250183a07dfc12047c84b6dfd4a1 100644 --- a/src/main/java/org/olat/modules/appointments/ui/TopicsRunCoachController.java +++ b/src/main/java/org/olat/modules/appointments/ui/TopicsRunCoachController.java @@ -448,7 +448,7 @@ public class TopicsRunCoachController extends BasicController { } private void doAddTopic(UserRequest ureq) { - topicCreateCtrl = new TopicCreateController(ureq, getWindowControl(), secCallback, entry, subIdent); + topicCreateCtrl = new TopicCreateController(ureq, getWindowControl(), entry, subIdent); listenTo(topicCreateCtrl); cmc = new CloseableModalController(getWindowControl(), "close", topicCreateCtrl.getInitialComponent(), true,