This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stats:proc:deleteaccount [2011/09/28 21:29] Patrick Michel |
stats:proc:deleteaccount [2011/09/29 19:30] Patrick Michel |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code xcend> | <code xcend> | ||
- | deleteAccount(ident username) { | + | deleteAccount(ident uid, ident username) { |
+ | assume exists //accounts/account[uid]/admin; | ||
+ | assume uid != username; # or do we want to allow an admin to delete himself? | ||
assume exists //accounts/account[username]; | assume exists //accounts/account[username]; | ||
| |