This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
stats:proc:publishresults [2012/01/11 14:42] Patrick Michel created |
stats:proc:publishresults [2013/07/10 12:32] (current) |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code xcend> | <code xcend> | ||
| - | publishResults(String uid, String ) { | + | publishResults(ident uid, ident id) { |
| + | assume exists /account[uid]/examiner[id]; | ||
| + | |||
| + | assume exists /exam[id]; | ||
| + | |||
| + | assume not /exam[id]/published; | ||
| + | |||
| + | update /exam[id]/published true; | ||
| } | } | ||
| </code> | </code> | ||