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

OO-4630: Delete unused variables

parent 6e7c5977
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,6 @@ import org.olat.core.id.Identity; ...@@ -52,7 +52,6 @@ import org.olat.core.id.Identity;
import org.olat.core.util.DateUtils; import org.olat.core.util.DateUtils;
import org.olat.core.util.StringHelper; import org.olat.core.util.StringHelper;
import org.olat.modules.appointments.Appointment; import org.olat.modules.appointments.Appointment;
import org.olat.modules.appointments.AppointmentsSecurityCallback;
import org.olat.modules.appointments.AppointmentsService; import org.olat.modules.appointments.AppointmentsService;
import org.olat.modules.appointments.Topic; import org.olat.modules.appointments.Topic;
import org.olat.modules.appointments.Topic.Type; import org.olat.modules.appointments.Topic.Type;
...@@ -90,7 +89,6 @@ public class TopicCreateController extends FormBasicController { ...@@ -90,7 +89,6 @@ public class TopicCreateController extends FormBasicController {
private RepositoryEntry entry; private RepositoryEntry entry;
private String subIdent; private String subIdent;
private AppointmentsSecurityCallback secCallback;
private Topic topic; private Topic topic;
private List<Identity> coaches; private List<Identity> coaches;
private List<AppointmentWrapper> appointmentWrappers; private List<AppointmentWrapper> appointmentWrappers;
...@@ -105,10 +103,9 @@ public class TopicCreateController extends FormBasicController { ...@@ -105,10 +103,9 @@ public class TopicCreateController extends FormBasicController {
@Autowired @Autowired
private UserManager userManager; private UserManager userManager;
public TopicCreateController(UserRequest ureq, WindowControl wControl, AppointmentsSecurityCallback secCallback, public TopicCreateController(UserRequest ureq, WindowControl wControl, RepositoryEntry entry,
RepositoryEntry entry, String subIdent) { String subIdent) {
super(ureq, wControl); super(ureq, wControl);
this.secCallback = secCallback;
this.entry = entry; this.entry = entry;
this.subIdent = subIdent; this.subIdent = subIdent;
......
...@@ -448,7 +448,7 @@ public class TopicsRunCoachController extends BasicController { ...@@ -448,7 +448,7 @@ public class TopicsRunCoachController extends BasicController {
} }
private void doAddTopic(UserRequest ureq) { private void doAddTopic(UserRequest ureq) {
topicCreateCtrl = new TopicCreateController(ureq, getWindowControl(), secCallback, entry, subIdent); topicCreateCtrl = new TopicCreateController(ureq, getWindowControl(), entry, subIdent);
listenTo(topicCreateCtrl); listenTo(topicCreateCtrl);
cmc = new CloseableModalController(getWindowControl(), "close", topicCreateCtrl.getInitialComponent(), true, cmc = new CloseableModalController(getWindowControl(), "close", topicCreateCtrl.getInitialComponent(), 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