aboutsummaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-11 04:34:17 +0000
committermkanat%bugzilla.org <>2009-08-11 04:34:17 +0000
commitea25630305fbd3b55c142c32aab82f9cc7afccfa (patch)
tree1b554df79fe0a83a02075566615552783e9e873b /enter_bug.cgi
parent918a8c245f8d0d7d0926a015aa9a4940c14ebdd3 (diff)
downloadbugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.gz
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.bz2
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.xz
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.zip
Bug 509045: Make "use_keywords" a global template variable instead of having to pass it to templates all the time
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi2
1 files changed, 0 insertions, 2 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 408336121..071276f1d 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -380,8 +380,6 @@ $vars->{'bug_severity'} = get_legal_field_values('bug_severity');
$vars->{'rep_platform'} = get_legal_field_values('rep_platform');
$vars->{'op_sys'} = get_legal_field_values('op_sys');
-$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
-
$vars->{'assigned_to'} = formvalue('assigned_to');
$vars->{'assigned_to_disabled'} = !$has_editbugs;
$vars->{'cc_disabled'} = 0;