To prevent users from attaching files to bugs:

Go to Administration / Parameters / Attachments and set both maxattachmentsize and maxlocalattachment settings to 0.