Skip to content

Restore a Deleted Enrollment

Things to check before performing the restore

  1. The member should have an active paying or trial membership
  2. For students and trial members, make sure the number of active enrollments are not more than the maximum allowed number specified below:
    1. https://github.com/InteractionDesignFoundation/IxDF-web/blob/04b574c1fefb531bb1e8dbc0da79ae89e61664da/config/ixdf_membership.php#L39
    2. https://github.com/InteractionDesignFoundation/IxDF-web/blob/04b574c1fefb531bb1e8dbc0da79ae89e61664da/config/ixdf_membership.php#L47

Restore the enrollment

Restoring the enrollment is as simple as removing the soft delete, but you need to perform a couple of actions to make everything work. Here are the steps:

  1. Make sure to clear the LessonScheduleCalendarFactory for the enrollment
  2. All MCQ Answers are already there.
  3. All Accepted OEQ Answers are already there.
  4. All Rejected OEQ Answers are already there.
  5. All Non-graded OEQ Answers should be restored
  6. Make sure to re-calculate scores using Nova after restoration