This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
stats:proc:deletetask [2011/09/27 20:52] Patrick Michel created |
stats:proc:deletetask [2011/09/29 19:24] Patrick Michel |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code xcend> | <code xcend> | ||
- | deleteTask(ident id, ident taskId) { | + | deleteTask(ident uid, ident id, ident taskId) { |
+ | assume exists //accounts/account[uid]/examiner[id]; | ||
assume exists //exams/exam[id]/tasks/task[taskId]; # implies the exam exists, which is implicitly true anyway | assume exists //exams/exam[id]/tasks/task[taskId]; # implies the exam exists, which is implicitly true anyway | ||