Skip to main content

reconcile_roster

pub(super) async fn reconcile_roster(
    conn: &mut PgConnection,
    listing: &CodeListing,
    people: &[RosterPerson],
    account_linking_since: Option<DateTime<Utc>>,
) -> CreditRegistrationResult<i32>
Expand description

Wakes the linked students’ registrations on every module of one code’s roster and claims a linking mail for everybody else, once per course on the code: mails and links are per course. Returns the linking mails claimed, for the caller’s roster-fetch summary.