stats:proc:deleteexam
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:deleteexam [2011/09/28 23:49] – Patrick Michel | stats:proc:deleteexam [2013/07/10 12:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code xcend> | <code xcend> | ||
| - | deleteExam(ident id) { | + | deleteExam(ident uid, ident id) { |
| - | assume exists //exams/exam[id]; | + | assume exists /account[uid]/admin; |
| + | |||
| + | assume exists | ||
| | | ||
| - | assume size(// | + | assume size(/exam[id]/examiner) = 0; |
| - | + | ||
| - | remove | + | assume size(/exam[id]/ |
| - | } # roles: admin | + | |
| + | remove / | ||
| + | } | ||
| </ | </ | ||
stats/proc/deleteexam.1317246596.txt.gz · Last modified: by Patrick Michel
