From 0a57310cc06b21beebf1f9a149b367432d051a17 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Mon, 29 Jul 2002 06:15:48 +0000 Subject: Bug 159593 - usedependencies parameter must die. Patch by gerv; r=bbaetz. --- Bugzilla/Bug.pm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 7e7478c46..df7a91553 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -217,16 +217,14 @@ sub initBug { if (@longdescs) { $self->{'longdescs'} = \@longdescs; } - - if (&::Param("usedependencies")) { - my @depends = EmitDependList("blocked", "dependson", $bug_id); - if ( @depends ) { + + my @depends = EmitDependList("blocked", "dependson", $bug_id); + if (@depends) { $self->{'dependson'} = \@depends; - } - my @blocks = EmitDependList("dependson", "blocked", $bug_id); - if ( @blocks ) { - $self->{'blocks'} = \@blocks; - } + } + my @blocks = EmitDependList("dependson", "blocked", $bug_id); + if (@blocks) { + $self->{'blocks'} = \@blocks; } return $self; -- cgit v1.2.3-24-g4f1b