User Tools

Site Tools


stats:proc:removestudentid

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:removestudentid [2011/09/29 00:57]
Patrick Michel
stats:proc:removestudentid [2011/09/29 19:33]
Patrick Michel
Line 2: Line 2:
  
 <code xcend> <code xcend>
-# correspondingly,​ this is the removeStudent procedure +removeStudentId(ident uid, ident username) { 
-removeStudentId(ident username) {+  assume exists //​accounts/​account[uid]/​admin;​ 
   assume exists //​accounts/​account[username]/​student;​ # implies the account exists, which is implicitly true anyway   assume exists //​accounts/​account[username]/​student;​ # implies the account exists, which is implicitly true anyway
  
Line 10: Line 11:
  
   remove //​account/​account[username]/​student;​   remove //​account/​account[username]/​student;​
-# roles: admin+}
 </​code>​ </​code>​
  
stats/proc/removestudentid.txt · Last modified: 2013/07/10 12:34 (external edit)