This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
stats:proc:removeresult_sheet [2011/09/28 20:54] Patrick Michel created |
stats:proc:removeresult_sheet [2011/10/15 20:21] Patrick Michel |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code xcend> | <code xcend> | ||
- | removeResult(ident id, ident studentId, ident sheetId) { | + | removeResult(ident uid, ident id, ident studentId, ident sheetId) { |
+ | assume exists //accounts/account[uid]/assistant[id] | ||
+ | || exists //accounts/account[uid]/tutor[id]/group[//exercises/exercise[id]/students/student[studentId]/group]; | ||
assume exists //exercises/exercise[id]/students/student[studentId]/result[sheetId]; # implies the existence of pretty much everything | assume exists //exercises/exercise[id]/students/student[studentId]/result[sheetId]; # implies the existence of pretty much everything | ||
| |