User Tools

Site Tools


stats:proc:openregistration

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stats:proc:openregistration [2012/01/11 14:44]
Patrick Michel
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 //exams/​exam[id]/​free;​+  assume not /​exam[id]/​free;​
   ​   ​
-  update ​//exams/​exam[id]/​free true;+  update /​exam[id]/​free true;
 } }
 </​code>​ </​code>​
  
stats/proc/openregistration.1326289462.txt.gz · Last modified: 2012/01/11 14:44 by Patrick Michel