summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi4
1 files changed, 0 insertions, 4 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 35afc227e..504ade424 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -795,10 +795,6 @@ sub delete_attachment {
# Paste the reason provided by the admin into a comment.
$bug->add_comment($msg);
- # If the attachment is stored locally, remove it.
- if (-e $attachment->_get_local_filename) {
- unlink $attachment->_get_local_filename;
- }
$attachment->remove_from_db();
# Now delete the token.