Added code to record the user id of the person deleting an attachment.