Add temporary block.

This commit is contained in:
Harlan Lieberman-Berg 2015-12-01 13:58:39 -05:00
parent 3e682d05e0
commit 877bca0ca4

View file

@ -31,6 +31,11 @@ sub GetCurrentUser {
return ($args{'CurrentUser'}, $args{'AuthLevel'}); return ($args{'CurrentUser'}, $args{'AuthLevel'});
} }
# For testing purposes, bail if the queue isn't right.
unless ($args->{'Queue'}->Name == "SecLawTest") {
return ($args{'CurrentUser'}, $args{'AuthLevel'});
}
$RT::Logger->debug("Operating on queue %s", $args{'Queue'}); $RT::Logger->debug("Operating on queue %s", $args{'Queue'});
my @messageids = FetchPossibleHeaders($args{'Message'}); my @messageids = FetchPossibleHeaders($args{'Message'});