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 [2012/05/29 16:36]
Patrick Michel
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 //​accounts/​account[uid]/​examiner[id];​
   ​   ​
   assume exists //​exams/​exam[id];​   assume exists //​exams/​exam[id];​
   ​   ​
-  assume not exists ​//​exams/​exam[id]/​free;​+  assume not //​exams/​exam[id]/​free;​
   ​   ​
-  ​insert ​//​exams/​exam[id] ​<​free ​/>;+  ​update ​//​exams/​exam[id]/​free true;
 } }
 </​code>​ </​code>​
  
stats/proc/openregistration.txt ยท Last modified: 2013/07/10 12:32 (external edit)