Skip to content

Commit

Permalink
SAK-47183 Signup > Imported meetings don't preserve sign-up start and…
Browse files Browse the repository at this point in the history
… end dates (sakaiproject#10444)
  • Loading branch information
plukasew authored Apr 21, 2022
1 parent 7df508b commit 297884f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,8 @@ public SignupMeeting prepareDeepCopy(SignupMeeting s, int addDaysForRecurringLen
copy.setMeetingType(s.getMeetingType());
copy.setSignupTimeSlots(timeSlots);
copy.setSignupSites(indivSite); // copy sites
Date sBegin = Utilities.subTractTimeToDate(s.getStartTime(), getSignupBegins(), getSignupBeginsType());
Date sDeadline = Utilities.subTractTimeToDate(s.getEndTime(), getDeadlineTime(), getDeadlineTimeType());
copy.setSignupBegins(sBegin);
copy.setSignupDeadline(sDeadline);
copy.setSignupBegins(s.getSignupBegins());
copy.setSignupDeadline(s.getSignupDeadline());
copy.setRepeatType(s.getRepeatType());
copy.setRepeatUntil(s.getRepeatUntil());
copy.setReceiveEmailByOwner(s.isReceiveEmailByOwner());
Expand Down

0 comments on commit 297884f

Please sign in to comment.