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

OO-4630: Minor code cleaning

parent 57089ab7
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ import org.olat.core.id.Roles;
import org.olat.core.util.Util;
import org.olat.core.util.nodes.INode;
import org.olat.course.ICourse;
import org.olat.course.condition.ConditionEditController;
import org.olat.course.editor.ConditionAccessEditConfig;
import org.olat.course.editor.CourseEditorEnv;
import org.olat.course.editor.NodeEditController;
import org.olat.course.editor.PublishEvents;
......@@ -61,8 +61,9 @@ import org.olat.repository.RepositoryEntry;
public class AppointmentsCourseNode extends AbstractAccessableCourseNode {
private static final long serialVersionUID = 2684639881298198543L;
@SuppressWarnings("deprecation")
private static final String TRANSLATOR_PACKAGE = Util.getPackageName(ConditionEditController.class);
private static final String TRANSLATOR_PACKAGE = Util.getPackageName(AppointmentsEditController.class);
public static final String TYPE = "appointments";
public static final String ICON_CSS = "o_appointment_icon";
......@@ -93,6 +94,11 @@ public class AppointmentsCourseNode extends AbstractAccessableCourseNode {
return nodeEditCtr;
}
@Override
public ConditionAccessEditConfig getAccessEditConfig() {
return ConditionAccessEditConfig.regular(false);
}
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl,
UserCourseEnvironment userCourseEnv, CourseNodeSecurityCallback nodeSecCallback, String nodecmd) {
......
......@@ -32,8 +32,6 @@ import org.olat.course.nodes.CourseNodeGroup;
import org.olat.course.nodes.appointments.ui.AppointmentsEditController;
/**
* Description:<br>
* Configuration for the BigBlueButton course element.
*
* Initial date: 13 Apr 2020<br>
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
......
......@@ -36,9 +36,8 @@ import org.olat.course.nodes.AppointmentsCourseNode;
*/
public class AppointmentsEditController extends ActivateableTabbableDefaultController {
private static final String PANE_TAB_ACCESSIBILITY = "pane.tab.accessibility";
private static final String PANE_TAB_CONFIG = "pane.tab.config";
private static final String[] paneKeys = { PANE_TAB_CONFIG, PANE_TAB_ACCESSIBILITY };
private static final String[] paneKeys = { PANE_TAB_CONFIG };
private TabbedPane tabPane;
private AppointmentsConfigController configCtrl;
......
......@@ -83,7 +83,6 @@ no.topics=Es sind keine Termine verf\u00FCgbar.
notification.new.participation={1} hat sich in "{0}" eingetragen.
notifications.header=Termine in Kurs "{0}"
notifications.title=Terminplanung im Kurs "{0}"
pane.tab.accessibility=Zugang
pane.tab.config=Konfiguration
participation.not.created=Sie konnten nicht in eingetragen werden.
participants=Teilnehmer
......
......@@ -83,7 +83,6 @@ no.topics=No appointments available.
notification.new.participation={1} enrolled in "{0}".
notifications.header=Appointments in course "{0}"
notifications.title=Appointment scheduling in course "{0}"
pane.tab.accessibility=Access
pane.tab.config=Configuration
participation.not.created=You could not be enrolled.
participants=Participants
......
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