This shows you the differences between two versions of the page.
stats:proc:removeresult_task [2011/09/28 20:48] Patrick Michel |
stats:proc:removeresult_task [2013/07/10 12:34] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remove Result (Task) ====== | ||
- | <code xcend> | ||
- | removeResult(ident id, ident studentId, ident taskId) { | ||
- | assume exists //exams/exam[id]/results/participant[studentId]/result[taskId]; # implies the exam, account, student role and task exist by integrity | ||
- | | ||
- | remove //exams/exam[id]/results/participant[studentId]/result[taskId]; | ||
- | } | ||
- | </code> |