diff options
author | 2006-03-07 05:42:09 +0000 | |
---|---|---|
committer | 2006-03-07 05:42:09 +0000 | |
commit | 93ed3ae8b3523b9e62597d1cc49de1f715648925 (patch) | |
tree | 691aa59ef033d8f23b920842558c68c52bae43f3 /globals.pl | |
parent | Documentation patch: document the user_group_map table; follow-up on patch pu... (diff) | |
download | bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.gz bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.bz2 bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.zip |
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; |