Code cleanup

Remove `XXX` comments related to PRs #1308 and #1312
This commit is contained in:
Fabrice Mouhartem 2023-12-12 10:55:45 +01:00
parent a24bc397a6
commit c11f946379
1 changed files with 1 additions and 3 deletions

View File

@ -1012,13 +1012,12 @@ ICS ==> create a new event with the same UID and a RECURRENCE-ID field (with a v
makeLeftside(cal, $(leftside));
cal.on('beforeCreateSchedule', function(event) {
event.recurrenceRule = APP.recurrenceRule; // XXX Not sure about the consistency of data structures
event.recurrenceRule = APP.recurrenceRule;
newEvent(event, function (err) {
if (err) {
console.error(err);
return void UI.warn(err);
}
//cal.createSchedules([schedule]); XXX Remove these occurrences elsewhere
});
});
cal.on('beforeUpdateSchedule', function(event) {
@ -1127,7 +1126,6 @@ ICS ==> create a new event with the same UID and a RECURRENCE-ID field (with a v
console.error(err);
return void UI.warn(err);
}
//cal.updateSchedule(old.id, old.calendarId, changes);
});
}
};