summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi9
1 files changed, 0 insertions, 9 deletions
diff --git a/attachment.cgi b/attachment.cgi
index d851e537e..67e8559c4 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -76,15 +76,6 @@ my $cgi = Bugzilla->cgi;
# Determine whether to use the action specified by the user or the default.
my $action = $::FORM{'action'} || 'view';
-# Slight awkward extra checks for the case when we came here from the
-# attachment/choose.html.tmpl page
-if ($action eq 'View') {
- $action = 'view';
-}
-elsif ($action eq 'Edit') {
- $action = 'edit';
-}
-
if ($action eq "view")
{
validateID();