From 04824af9663502bc5cc16583463c7d6819610fec Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sun, 23 Jan 2000 09:03:14 +0000 Subject: New email code wasn't notifying people of changes in state of dependent bugs. --- globals.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 8d921f04d..5bc48e754 100644 --- a/globals.pl +++ b/globals.pl @@ -600,6 +600,19 @@ sub UserInGroup { } +# Determines if the given bug_status string represents an "Opened" bug. This +# routine ought to be paramaterizable somehow, as people tend to introduce +# new states into Bugzilla. + +sub IsOpenedState { + my ($state) = (@_); + if ($state =~ /^(NEW|REOPENED|ASSIGNED)$/) { + return 1; + } + return 0; +} + + sub RemoveVotes { my ($id, $reason) = (@_); ConnectToDatabase(); -- cgit v1.2.3-24-g4f1b