confirmRemoveDialog = activateOkCancelDialog(ureq, translate("cal.icalfeed.remove.title"), translate("cal.icalfeed.remove.confirmation_message"), confirmRemoveDialog);
} else if (command.equals(CMD_UNSUBSCRIBE)) {
currentCalendarID = ureq.getParameter(PARAM_ID);
KalendarRenderWrapper calendarWrapper = findKalendarRenderWrapper(currentCalendarID);
CalendarSubscription subscription = new CourseCalendarSubscription(calendarWrapper.getKalendar(), ureq.getUserSession().getGuiPreferences());
subscription.unsubscribe();
for (Iterator<KalendarRenderWrapper> it=calendars.iterator(); it.hasNext(); ) {
KalendarRenderWrapper calendar = it.next();
if (calendarWrapper.getKalendar().getCalendarID().equals(calendar.getKalendar().getCalendarID())) {
it.remove();