diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-x | Bugzilla/Bug.pm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e1b4a6e55..c394ea8a8 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -53,7 +53,6 @@ use base qw(Bugzilla::Object Exporter); bug_alias_to_id ValidateBugID RemoveVotes CheckIfVotedConfirmed LogActivityEntry - BUG_STATE_OPEN is_open_state editable_bug_fields SPECIAL_STATUS_WORKFLOW_ACTIONS ); @@ -223,12 +222,6 @@ use constant SPECIAL_STATUS_WORKFLOW_ACTIONS => qw( clearresolution ); -sub BUG_STATE_OPEN { - # XXX - We should cache this list. - my $dbh = Bugzilla->dbh; - return @{$dbh->selectcol_arrayref('SELECT value FROM bug_status WHERE is_open = 1')}; -} - ##################################################################### sub new { @@ -2428,12 +2421,6 @@ sub EmitDependList { return $list_ref; } -# Tells you whether or not the argument is a valid "open" state. -sub is_open_state { - my ($state) = @_; - return (grep($_ eq $state, BUG_STATE_OPEN) ? 1 : 0); -} - sub ValidateTime { my ($time, $field) = @_; |