This shows you the differences between two versions of the page.
stats:proc:unregisterstudent [2011/09/29 00:44] Patrick Michel |
stats:proc:unregisterstudent [2013/07/10 12:34] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remove Student ====== | ||
- | <code xcend> | ||
- | removeStudent(ident id, ident studentId) { | ||
- | assume exists //exercises/exercise[id]/students/student[studentId]; # implies the exercise exists | ||
- | | ||
- | remove //exercises/exercise[id]/students/student[studentId]; | ||
- | } # roles: student[studentId] | ||
- | </code> |