User Tools

Site Tools


stats:proc:hideresults

Differences

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

Link to this comparison view

stats:proc:hideresults [2012/05/29 16:35]
Patrick Michel
stats:proc:hideresults [2013/07/10 12:32]
Line 1: Line 1:
-====== Hide Results ====== 
- 
-<code xcend> 
-hideResults(ident uid, ident id) { 
-  assume exists //​accounts/​account[uid]/​examiner[id];​ 
-  
-  assume exists //​exams/​exam[id];​ 
-  
-  assume //​exams/​exam[id]/​published;​ 
-  
-  update //​exams/​exam[id]/​published false; 
-} 
-</​code>​ 
  
stats/proc/hideresults.txt ยท Last modified: 2013/07/10 12:32 (external edit)