Skip to main content

retire_unused_for_link

Function retire_unused_for_link 

Source
pub async fn retire_unused_for_link(
    conn: &mut PgConnection,
    verified_student_number_id: Uuid,
) -> ModelResult<()>
Expand description

Voids the unused links in the mails about the person behind a verified link, and marks those mails replaced, so that once unlinked the person can be mailed again. The mails still count against the caps.