summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xBug.pm16
-rwxr-xr-xBugzilla/Bug.pm16
-rw-r--r--defparams.pl5
-rw-r--r--template/en/default/bug/edit.html.tmpl2
4 files changed, 14 insertions, 25 deletions
diff --git a/Bug.pm b/Bug.pm
index 7e7478c46..df7a91553 100755
--- a/Bug.pm
+++ b/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;
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;
diff --git a/defparams.pl b/defparams.pl
index 4530a73c2..c0e1a9fa9 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -395,11 +395,6 @@ DefParam("usebrowserinfo",
"b",
1);
-DefParam("usedependencies",
- "Do you wish to use dependencies (allowing you to mark which bugs depend on which other ones)?",
- "b",
- 1);
-
DefParam("usevotes",
"Do you wish to allow users to vote for bugs? Note that in order for this to be effective, you will have to change the maximum votes allowed in a product to be non-zero in <a href=\"editproducts.cgi\">the product edit page</a>.",
"b",
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index a37be643b..699ee55ac 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -265,7 +265,6 @@
[%# *** Dependencies Votes *** %]
- [% IF Param('usedependencies') %]
<table>
<tr>
[% PROCESS dependencies accesskey = "d"
@@ -287,7 +286,6 @@
dep = { title => "<u>b</u>locks", fieldname => "blocked" } %]
</tr>
</table>
- [% END %]
[% IF use_votes %]
<table>