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] – created Patrick Michelstats:proc:openregistration [2013/07/10 12:32] (current) – external edit 127.0.0.1
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: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki