This shows you the differences between two versions of the page.
stats:proc:openregistration [2012/01/11 14:44] Patrick Michel |
stats:proc:openregistration [2013/07/10 12:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Open Registration ====== | ||
- | |||
- | <code xcend> | ||
- | openRegistration(string uid, string id) { | ||
- | assume exists //accounts/account[uid]/examiner[id]; | ||
- | | ||
- | assume exists //exams/exam[id]; | ||
- | | ||
- | assume not //exams/exam[id]/free; | ||
- | | ||
- | update //exams/exam[id]/free true; | ||
- | } | ||
- | </code> | ||