User Tools

Site Tools


stats:proc:openregistration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
stats:proc:openregistration [2011/11/28 17:03]
Patrick Michel created
stats:proc:openregistration [2013/07/10 12:32] (current)
Line 2: Line 2:
  
 <code xcend> <code xcend>
-openRegistration(string ​uid, string ​id) { +openRegistration(ident uid, ident id) { 
-  assume exists ​//accounts/​account[uid]/​examiner[id];​+  assume exists /​account[uid]/​examiner[id];​
   ​   ​
-  assume exists ​//exams/exam[id];+  assume exists /exam[id];
   ​   ​
-  assume not exists //exams/​exam[id]/​free;​+  assume not /​exam[id]/​free;​
   ​   ​
-  ​insert //exams/​exam[id] ​<free />;+  ​update ​/exam[id]/free true;
 } }
 </​code>​ </​code>​
  
stats/proc/openregistration.1322496203.txt.gz · Last modified: 2011/11/28 17:03 by Patrick Michel