User Tools

Site Tools


stats:proc:leaveteam

Leave Team

leaveTeam(ident uid, ident id, ident studentId) {
  assume exists /account[uid]/tutor[id]/group[/exercise[id]/student[studentId]/group];
    # implies the existence of the student, the exercise, the group and enough rights by a tutor account
 
  assume exists /exercise[id]/student[studentId]/team;
 
  remove /exercise[id]/student[studentId]/team;
}
stats/proc/leaveteam.txt · Last modified: 2013/07/10 12:34 (external edit)