Improved code to delete attachments.
Fixed comment wrapping.
Fixed bug# 10767 - View AgentITSMWorkOrderReport: Deleting of the attachment is not possible.