diff options
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; |