summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-01-30 23:14:10 +0100
committermyk%mozilla.org <>2002-01-30 23:14:10 +0100
commit429456196dd7ce8ef7e0876b7e57cdc394a228ba (patch)
tree9822db1683ca3910e53f3a4b3e3d7501ae8f8b42 /CGI.pl
parent9704bcdf20dfc01b491d4a7c76f469c9a6190685 (diff)
downloadbugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.tar.gz
bugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.tar.xz
Fix for bug 104521: Removes old attachment interface in favor of new attachment tracker.
Patch by Myk Melez <myk@mozilla.org>. r=bbaetz,kiko
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 90217db18..eb8f5f037 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -1270,7 +1270,7 @@ sub DumpBugActivity {
while (@row = FetchSQLData()) {
my ($field,$attachid,$when,$removed,$added,$who) = (@row);
$field =~ s/^Attachment/<a href="attachment.cgi?id=$attachid&amp;action=view">Attachment #$attachid<\/a>/
- if (Param('useattachmenttracker') && $attachid);
+ if $attachid;
$removed = html_quote($removed);
$added = html_quote($added);
$removed = "&nbsp;" if $removed eq "";
@@ -1349,7 +1349,7 @@ Edit <a href="userprefs.cgi">prefs</a>
if (UserInGroup("editcomponents")) {
$html .= ", <a href=\"editproducts.cgi\">products</a>\n";
$html .= ", <a href=\"editattachstatuses.cgi\">
- attachment&nbsp;statuses</a>\n" if Param('useattachmenttracker');
+ attachment&nbsp;statuses</a>\n";
}
if (UserInGroup("creategroups")) {
$html .= ", <a href=\"editgroups.cgi\">groups</a>\n";