This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
stats:proc:leaveteam [2011/10/24 15:53] Patrick Michel created |
stats:proc:leaveteam [2012/05/29 16:35] Patrick Michel |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code xcend> | <code xcend> | ||
- | leaveTeam(string uid, string id, string studentId) { | + | leaveTeam(ident uid, ident id, ident studentId) { |
assume exists //accounts/account[uid]/tutor[id]/group[//exercises/exercise[id]/student[studentId]/group]; | assume exists //accounts/account[uid]/tutor[id]/group[//exercises/exercise[id]/student[studentId]/group]; | ||
# implies the existence of the student, the exercise, the group and enough rights by a tutor account | # implies the existence of the student, the exercise, the group and enough rights by a tutor account | ||
Line 8: | Line 8: | ||
assume exists //exercises/exercise[id]/student[studentId]/team; | assume exists //exercises/exercise[id]/student[studentId]/team; | ||
- | delete //exercises/exercise[id]/student[studentId]/team; | + | remove //exercises/exercise[id]/student[studentId]/team; |
}</code> | }</code> | ||