summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-07-29 08:15:48 +0200
committergerv%gerv.net <>2002-07-29 08:15:48 +0200
commit0a57310cc06b21beebf1f9a149b367432d051a17 (patch)
tree2fb3320e6ff28212f9936428ea3384c2ac7932b1 /Bugzilla
parent58ec231bbbf56ddf358b43bf51818c25d1b8770c (diff)
downloadbugzilla-0a57310cc06b21beebf1f9a149b367432d051a17.tar.gz
bugzilla-0a57310cc06b21beebf1f9a149b367432d051a17.tar.xz
Bug 159593 - usedependencies parameter must die. Patch by gerv; r=bbaetz.
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm16
1 files changed, 7 insertions, 9 deletions
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;