User Tools

Site Tools


stats:proc:deletesheet

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
stats:proc:deletesheet [2011/09/29 00:01]
Patrick Michel
stats:proc:deletesheet [2011/09/29 19:34]
Patrick Michel
Line 2: Line 2:
  
 <code xcend> <code xcend>
-deleteSheet(ident id, ident sheetId) {+deleteSheet(ident uid, ident id, ident sheetId) { 
 +  assume exists //​accounts/​account[uid]/​assistant[id];​ 
 +  ​
   assume exists //​exercises/​exercise[id]/​sheets/​sheet[sheetId];​ # implies existence of the exercise   assume exists //​exercises/​exercise[id]/​sheets/​sheet[sheetId];​ # implies existence of the exercise
   ​   ​
Line 8: Line 10:
   ​   ​
   remove //​exercises/​exercise[id]/​sheets/​sheet[sheetId];​   remove //​exercises/​exercise[id]/​sheets/​sheet[sheetId];​
-# roles: assistant[id]+}
 </​code>​ </​code>​
stats/proc/deletesheet.txt · Last modified: 2013/07/10 12:34 (external edit)