User Tools

Site Tools


stats:proc:deleteexam

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 Both sides next revision
stats:proc:deleteexam [2011/09/29 19:28]
Patrick Michel
stats:proc:deleteexam [2011/10/02 10:37]
Patrick Michel
Line 8: Line 8:
   ​   ​
   assume size(//​acounts/​account/​examiner[id]) = 0;   assume size(//​acounts/​account/​examiner[id]) = 0;
-  ​+ 
 +  assume size(//​exams/​exam[id]/​results/​participant) = 0; # don't allow to delete if participants are there 
 + 
   remove //​exams/​exam[id];​   remove //​exams/​exam[id];​
 } }
 </​code>​ </​code>​
  
stats/proc/deleteexam.txt · Last modified: 2013/07/10 12:34 (external edit)