summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo/Extension.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-06-15 22:50:15 +0200
committerGitHub <noreply@github.com>2017-06-15 22:50:15 +0200
commit3c3f1f6349ae997041de347a2b0bca3e95944c59 (patch)
treec39f4f95a8e09a330d4278a38cff020cee3bb4ca /extensions/Needinfo/Extension.pm
parent44af2d396f1f7da55ab78a6bf74be92e9d82e751 (diff)
downloadbugzilla-3c3f1f6349ae997041de347a2b0bca3e95944c59.tar.gz
bugzilla-3c3f1f6349ae997041de347a2b0bca3e95944c59.tar.xz
Bug 1372363 - Fix BMO defaults (bug modal pref, needinfo exclusions)
* add comment to explain 0:0
Diffstat (limited to 'extensions/Needinfo/Extension.pm')
-rw-r--r--extensions/Needinfo/Extension.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm
index 3b99b5a44..c2d0c7304 100644
--- a/extensions/Needinfo/Extension.pm
+++ b/extensions/Needinfo/Extension.pm
@@ -39,8 +39,8 @@ sub install_update_db {
print "Creating needinfo flag ... " .
"enable the Needinfo feature by editing the flag's properties.\n";
- # Initially populate the list of exclusions as __Any__:__Any__ to
- # allow admin to decide which products to enable the flag for.
+ # inclusions 0:0 maps to __ANY__ : __ANY__ in the UI,
+ # meaning needinfo is enabled for all products and components by default
my $flagtype = Bugzilla::FlagType->create({
name => 'needinfo',
description => "Set this flag when the bug is in need of additional information",
@@ -53,8 +53,8 @@ sub install_update_db {
is_multiplicable => 0,
request_group => '',
grant_group => '',
- inclusions => [],
- exclusions => ['0:0'],
+ inclusions => ['0:0'],
+ exclusions => [],
});
}