summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-07-24 00:14:02 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-07-24 00:14:02 +0200
commit8c5d6e253a72c941574165d2a9e147099ec7fb46 (patch)
tree90e1f286c7ad677e24ae757c3565eac5171db77c /attachment.cgi
parent9a63ac0764abca55f1b61a4c0719315002c02ac0 (diff)
downloadbugzilla-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.gz
bugzilla-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.xz
Bug 771107 - List of attachments in attachment details screen does not distinguish obsolete attachments
r=glob, a=LpSolit
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 0 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 16c964e47..e696c95a7 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -606,8 +606,6 @@ sub edit {
my $bugattachments =
Bugzilla::Attachment->get_attachments_by_bug($attachment->bug);
- # We only want attachment IDs.
- @$bugattachments = map { $_->id } @$bugattachments;
my $any_flags_requesteeble =
grep { $_->is_requestable && $_->is_requesteeble } @{$attachment->flag_types};