Skin.checkDelete (usr, level) |
check if user is allowed to delete this skin
|
Sourcecode in Skin/securityFunctions.js:
1: function checkDelete(usr, level) { 2: if ((level & MAY_EDIT_LAYOUTS) == 0) 3: throw new DenyException("skinDelete"); 4: return; 5: } |