diff options
author | mkanat%kerio.com <> | 2006-03-07 06:42:09 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2006-03-07 06:42:09 +0100 |
commit | 93ed3ae8b3523b9e62597d1cc49de1f715648925 (patch) | |
tree | 691aa59ef033d8f23b920842558c68c52bae43f3 /globals.pl | |
parent | eb411e0d6a8848ff925ca13f42a04da1a7591284 (diff) | |
download | bugzilla-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 'globals.pl')
-rw-r--r-- | globals.pl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/globals.pl b/globals.pl index 4bf1b3b34..be3df7d75 100644 --- a/globals.pl +++ b/globals.pl @@ -472,25 +472,6 @@ sub GroupIdToName { return $name; } -# Determines if the given bug_status string represents an "Opened" bug. This -# routine ought to be parameterizable somehow, as people tend to introduce -# new states into Bugzilla. - -sub IsOpenedState { - my ($state) = (@_); - if (grep($_ eq $state, OpenStates())) { - return 1; - } - return 0; -} - -# This sub will return an array containing any status that -# is considered an open bug. - -sub OpenStates { - return ('NEW', 'REOPENED', 'ASSIGNED', 'UNCONFIRMED'); -} - ############# Live code below here (that is, not subroutine defs) ############# use Bugzilla; |