When a version tag is approved or denied, run spectre right now. Fixes bug #11671.

This commit is contained in:
Colin Kuskie 2010-06-28 14:04:46 -07:00
parent 3ea4ab8a1a
commit 8d61e5c3d6
2 changed files with 4 additions and 1 deletions

View file

@ -306,6 +306,7 @@ sub setApproved {
my $self = shift;
my $instance = shift;
$instance->setScratch( "status", "approved" );
$instance->set({}); ##Bump spectre to get it to run right now.
}
#----------------------------------------------------------------------------
@ -325,7 +326,8 @@ sub setDenied {
my $self = shift;
my $instance = shift;
$instance->setScratch( "status", "denied" );
}
$instance->set({}); ##Bump spectre to get it to run right now.
}
#----------------------------------------------------------------------------