summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2006-03-07 06:42:09 +0100
committermkanat%kerio.com <>2006-03-07 06:42:09 +0100
commit93ed3ae8b3523b9e62597d1cc49de1f715648925 (patch)
tree691aa59ef033d8f23b920842558c68c52bae43f3 /Bugzilla/Constants.pm
parenteb411e0d6a8848ff925ca13f42a04da1a7591284 (diff)
downloadbugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.gz
bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.xz
Bug 282628: Move OpenStates and IsOpenedState out of globals.pl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=myk
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index afb621f78..0b612cbba 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -94,6 +94,8 @@ use base qw(Exporter);
FIELD_TYPE_UNKNOWN
FIELD_TYPE_FREETEXT
+
+ BUG_STATE_OPEN
);
@Bugzilla::Constants::EXPORT_OK = qw(contenttypes);
@@ -256,4 +258,8 @@ use constant SENDMAIL_EXE => '/usr/lib/sendmail.exe';
use constant FIELD_TYPE_UNKNOWN => 0;
use constant FIELD_TYPE_FREETEXT => 1;
+# States that are considered to be "open" for bugs.
+use constant BUG_STATE_OPEN => ('NEW', 'REOPENED', 'ASSIGNED',
+ 'UNCONFIRMED');
+
1;