This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
stats:proc:signoutgroup [2011/11/02 14:38] Patrick Michel |
stats:proc:signoutgroup [2013/06/20 11:02] Mathias Weber |
||
---|---|---|---|
Line 10: | Line 10: | ||
# implies existence of the exercise and student, even the group | # implies existence of the exercise and student, even the group | ||
| | ||
- | remove //exercises/exercise[id]/students/student[studentId]/group; | + | |
update //exercises/exercise[id]/groups/group[//exercises/exercise[id]/students/student[studentId]/group]/curSize | update //exercises/exercise[id]/groups/group[//exercises/exercise[id]/students/student[studentId]/group]/curSize | ||
(//exercises/exercise[id]/groups/group[//exercises/exercise[id]/students/student[studentId]/group]/curSize - 1) | (//exercises/exercise[id]/groups/group[//exercises/exercise[id]/students/student[studentId]/group]/curSize - 1) | ||
+ | remove //exercises/exercise[id]/students/student[studentId]/group; | ||
} | } | ||
</code> | </code> |